type alias TestFn

A test body: receives an Assert instance and a meta object naming the test, its runtime options, and the shared context.

Type Parameters

A = unknown

Definition

(
assert: A,
meta: { testName: string; options: unknown; context: Record<string, unknown>; }
) => void | Promise<unknown>

Usage

import { type TestFn } from ".";