Module

std/testing/bdd.ts>DescribeArgs

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

The arguments for a DescribeFunction.

definition:
| [string]
| [string, Omit<DescribeDefinition<T>, "name">]
| [string, () => void]
| [() => void]
| [string, Omit<DescribeDefinition<T>, "fn" | "name">, () => void]
| [Omit<DescribeDefinition<T>, "fn">, () => void]
| [Omit<DescribeDefinition<T>, "fn" | "name">, () => void]
| [TestSuite<T>, string]
| [TestSuite<T>, string, Omit<DescribeDefinition<T>, "name" | "suite">]
| [TestSuite<T>, string, () => void]
| [TestSuite<T>, () => void]
|
[
string,
Omit<DescribeDefinition<T>, "fn" | "name" | "suite">,
() => void,
]
| [TestSuite<T>, Omit<DescribeDefinition<T>, "fn" | "suite">, () => void]
| [TestSuite<T>, Omit<DescribeDefinition<T>, "fn" | "name" | "suite">, () => void]