afterAll
afterAll: (fn: () => unknown) => void
beforeAll
beforeAll: (fn: () => unknown) => void
describe
describe: (name: string, fn: () => void) => void
OptionaldescribeOnly
describeOnly?: (name: string, fn: () => void) => void
OptionaldescribeSkip
describeSkip?: (name: string, fn: () => void) => void
test
test: (
name: string,
fn: (...args: unknown[]) => unknown,
timeout?: number,
) => void
OptionaltestOnly
testOnly?: (
name: string,
fn: (...args: unknown[]) => unknown,
timeout?: number,
) => void
OptionaltestSkip
testSkip?: (
name: string,
fn: (...args: unknown[]) => unknown,
timeout?: number,
) => void
The minimum slice of a test runner (vitest or jest) the runner needs in order to declare suites, tests, and lifecycle hooks.