From e613bfe47a3ebec076c82d038738904114ff2a7c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 12 Jun 2020 16:58:04 +0100 Subject: feat: Add TestDefinition::only (#5793) --- cli/js/lib.deno.ns.d.ts | 3 +++ 1 file changed, 3 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 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; 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; -- cgit v1.2.3