import { type bdd } from "https://deno.land/x/hex@0.5.15/src/formatters/tests/deps.ts";
const { ItDefinition } = bdd;
The options for creating an individual test case with the it function.
Properties
fn: (this: T, t: Deno.TestContext) => void | Promise<void>
The describe
function returns a TestSuite
representing the group of tests.
If it
is called within a describe
calls fn
, the suite will default to that parent describe
calls returned TestSuite
.
If it
is not called within a describe
calls fn
, the suite will default to the TestSuite
representing the global group of tests.