Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/formatters/tests/deps.ts>bdd.ItArgs

An ecosystem delivering practices, philosophy and portability.
Go to Latest
type alias bdd.ItArgs
import { type bdd } from "https://deno.land/x/hex@0.5.15/src/formatters/tests/deps.ts";
const { ItArgs } = bdd;

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>]