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