Skip to main content
Deno.DenoTest.ignore - Deno documentation
method Deno.DenoTest.ignore
DenoTest.ignore(t: Omit<TestDefinition, "ignore">): void
Shorthand property for ignoring a particular test case.

Parameters

t: Omit<TestDefinition, "ignore">

Return Type

void
DenoTest.ignore(
name: string,
fn: (t: TestContext) => void | Promise<void>,
): void
Shorthand property for ignoring a particular test case.

Parameters

name: string
fn: (t: TestContext) => void | Promise<void>

Return Type

void
DenoTest.ignore(fn: (t: TestContext) => void | Promise<void>): void
Shorthand property for ignoring a particular test case.

Parameters

fn: (t: TestContext) => void | Promise<void>

Return Type

void
DenoTest.ignore(
name: string,
options: Omit<TestDefinition,
"fn"
| "name"
| "ignore"
>
,
fn: (t: TestContext) => void | Promise<void>,
): void
Shorthand property for ignoring a particular test case.

Parameters

name: string
options: Omit<TestDefinition,
"fn"
| "name"
| "ignore"
>
fn: (t: TestContext) => void | Promise<void>

Return Type

void
DenoTest.ignore(
options: Omit<TestDefinition,
"fn"
| "name"
| "ignore"
>
,
fn: (t: TestContext) => void | Promise<void>,
): void
Shorthand property for ignoring a particular test case.

Parameters

options: Omit<TestDefinition,
"fn"
| "name"
| "ignore"
>
fn: (t: TestContext) => void | Promise<void>

Return Type

void
DenoTest.ignore(
options: Omit<TestDefinition, "fn" | "ignore">,
fn: (t: TestContext) => void | Promise<void>,
): void
Shorthand property for ignoring a particular test case.

Parameters

options: Omit<TestDefinition, "fn" | "ignore">
fn: (t: TestContext) => void | Promise<void>

Return Type

void