From 2f0641885c62ba6a1e58ae0030f635efd3f35b2a Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Mon, 27 Apr 2020 23:56:22 +0100 Subject: docs: document default value of sanitizeOps and sanitizeResources (#4943) --- cli/js/lib.deno.ns.d.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/js/lib.deno.ns.d.ts') diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 1834794a8..d2106b4f8 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -16,7 +16,12 @@ declare namespace Deno { fn: () => void | Promise; 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; } -- cgit v1.2.3