Skip to main content
Deno.TestStepDefinition.sanitizeResources - Deno documentation
property Deno.TestStepDefinition.sanitizeResources

Ensure the test step does not "leak" resources - like open files or network connections - by ensuring the open resources at the start of the step match the open resources at the end of the step.

Defaults to the parent test or step's value.

Type

boolean
Back to top