TTestFn
Bun

type

test.default.TestFn

type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>

The type of a function passed to test. The first argument to this function is a TestContext object. If the test uses callbacks, the callback function is passed as the second argument.