Skip to main content
Deno.TestStepDefinition.sanitizeOps - Deno documentation
property Deno.TestStepDefinition.sanitizeOps
Check that the number of async completed operations after the test step is the same as number of dispatched operations. This ensures that the code tested does not start async operations which it then does not await. This helps in preventing logic errors and memory leaks in the application code. Defaults to the parent test or step's value.

Type

boolean