Module

std/testing/bdd.ts>ItArgs

Deno standard library
Go to Latest
type alias ItArgs
import { type ItArgs } from "https://dotland.deno.dev/std@0.181.0/testing/bdd.ts";

The arguments for an ItFunction.

definition:
| [string, Omit<ItDefinition<T>, "name">]
| [string, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [(this: T, t: Deno.TestContext) => void | Promise<void>]
| [string, Omit<ItDefinition<T>, "fn" | "name">, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [Omit<ItDefinition<T>, "fn">, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [Omit<ItDefinition<T>, "fn" | "name">, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [TestSuite<T>, string, Omit<ItDefinition<T>, "name" | "suite">]
| [TestSuite<T>, string, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [TestSuite<T>, (this: T, t: Deno.TestContext) => void | Promise<void>]
|
[
string,
Omit<ItDefinition<T>, "fn" | "name" | "suite">,
(this: T, t: Deno.TestContext) => void | Promise<void>,
]
| [TestSuite<T>, Omit<ItDefinition<T>, "fn" | "suite">, (this: T, t: Deno.TestContext) => void | Promise<void>]
| [TestSuite<T>, Omit<ItDefinition<T>, "fn" | "name" | "suite">, (this: T, t: Deno.TestContext) => void | Promise<void>]