Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

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