Skip to main content
Module

x/scaffold/tests/deps.ts>ItArgs

scaffold your next project with style and 💗
Latest
type alias ItArgs
import { type ItArgs } from "https://deno.land/x/scaffold@0.3.0/tests/deps.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>]