before(fn): void
Attributes
fn:
Function | AsyncFunctionThe hook function.
Registers a hook that runs once before the benchmarks in the current suite.
before(fn): void
Function | AsyncFunctionRegisters a hook that runs once before the benchmarks in the current suite.