summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorChris Knight <cknight1234@gmail.com>2020-04-27 23:56:22 +0100
committerGitHub <noreply@github.com>2020-04-28 00:56:22 +0200
commit2f0641885c62ba6a1e58ae0030f635efd3f35b2a (patch)
treea802acb433fed3838cca99745236bb413aeb6b62 /cli/js
parentf2d5e6f58ac6e1f58091edf74053aaa695a26b8e (diff)
docs: document default value of sanitizeOps and sanitizeResources (#4943)
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/lib.deno.ns.d.ts5
1 files changed, 5 insertions, 0 deletions
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<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;
}