mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05: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>;
|
||||
name: string;
|
||||
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;
|
||||
/** 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue