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

x/effection/test/suite.ts>ItArgs

Structured concurrency and effects for JavaScript
Latest
type alias ItArgs
import { type ItArgs } from "https://deno.land/x/effection@3.0.3/test/suite.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>]