Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/stdx/mod.ts>testing.bdd.ItArgs

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
type alias testing.bdd.ItArgs
import { type testing } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/mod.ts";
const { ItArgs } = testing.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>]