summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-06-12 16:58:04 +0100
committerGitHub <noreply@github.com>2020-06-12 11:58:04 -0400
commite613bfe47a3ebec076c82d038738904114ff2a7c (patch)
treec9deee488fc8dd3bf7fdcdd65be1f8677307a1d0 /cli/js/lib.deno.ns.d.ts
parent3eee9614732ed8636bb8ebbd6f6a13d44531df6c (diff)
feat: Add TestDefinition::only (#5793)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r--cli/js/lib.deno.ns.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts
index c70eca68e..f9438ed9c 100644
--- a/cli/js/lib.deno.ns.d.ts
+++ b/cli/js/lib.deno.ns.d.ts
@@ -38,6 +38,9 @@ declare namespace Deno {
fn: () => void | Promise<void>;
name: string;
ignore?: boolean;
+ /** If at lease one test has `only` set to true, only run tests that have
+ * `only` set to true and fail the test suite. */
+ only?: 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;