mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
docs: document default value of sanitizeOps and sanitizeResources (#4943)
This commit is contained in:
parent
f2d5e6f58a
commit
2f0641885c
1 changed files with 5 additions and 0 deletions
5
cli/js/lib.deno.ns.d.ts
vendored
5
cli/js/lib.deno.ns.d.ts
vendored
|
@ -16,7 +16,12 @@ declare namespace Deno {
|
||||||
fn: () => void | Promise<void>;
|
fn: () => void | Promise<void>;
|
||||||
name: string;
|
name: string;
|
||||||
ignore?: boolean;
|
ignore?: boolean;
|
||||||
|
/** Check that the number of async completed ops after the test is the same
|
||||||
|
* as number of dispatched ops. Defaults to true.*/
|
||||||
sanitizeOps?: boolean;
|
sanitizeOps?: boolean;
|
||||||
|
/** Ensure the test case does not "leak" resources - ie. the resource table
|
||||||
|
* after the test has exactly the same contents as before the test. Defaults
|
||||||
|
* to true. */
|
||||||
sanitizeResources?: boolean;
|
sanitizeResources?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue