The task hook function signature. Hooks apply to both run and warmup phases when warmup is enabled. beforeAll/afterAll run once per task and phase; beforeEach/afterEach run once per iteration.
beforeAll
afterAll
beforeEach
afterEach
Optional
the mode where the hook is being called
The task hook function signature. Hooks apply to both run and warmup phases when warmup is enabled.
beforeAll/afterAllrun once per task and phase;beforeEach/afterEachrun once per iteration.