Deno.TestStepDefinition
interface TestStepDefinition {
fn: (t: TestContext) => void | Promise<void>;
ignore?: boolean;
name: string;
sanitizeExit?: boolean;
sanitizeOps?: boolean;
sanitizeResources?: boolean;
}§Properties
§
fn: (t: TestContext) => void | Promise<void>
[src]§
sanitizeExit?: boolean
[src]Ensure the test step does not prematurely cause the process to exit,
for example via a call to Deno.exit
. Defaults to the parent test or
step's value.