MCPcopy
hub / github.com/vitest-dev/vitest / createSuiteHooks

Function createSuiteHooks

packages/runner/src/suite.ts:252–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250}
251
252export function createSuiteHooks(): SuiteHooks {
253 return {
254 beforeAll: [],
255 afterAll: [],
256 beforeEach: [],
257 afterEach: [],
258 aroundEach: [],
259 aroundAll: [],
260 }
261}
262
263const POSITIVE_INFINITY = Number.POSITIVE_INFINITY
264

Callers 2

collectTestsFunction · 0.90
initSuiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected