method HooksObject.before
HooksObject.before(fn: HookFn<A>): void

Runs once before the first test in the module.

Parameters

fn: HookFn<A>

Return Type

void

Usage

import { type HooksObject } from ".";