mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
feat: Add TestDefinition::only (#5793)
This commit is contained in:
parent
3eee961473
commit
e613bfe47a
7 changed files with 75 additions and 15 deletions
3
cli/js/lib.deno.ns.d.ts
vendored
3
cli/js/lib.deno.ns.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue