Skip to main content
Deno.TestDefinition.sanitizeOps - Deno documentation
property Deno.TestDefinition.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.

Type

boolean
Back to top