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

std/testing/bdd.ts>DescribeArgs

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias DescribeArgs
import { type DescribeArgs } from "https://deno.land/std@0.220.1/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]