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

Function getHooks

packages/runner/src/map.ts:33–35  ·  view source on GitHub ↗
(key: Suite)

Source from the content-addressed store, hash-verified

31}
32
33export function getHooks(key: Suite): SuiteHooks {
34 return hooksMap.get(key)
35}

Callers 5

collectTestsFunction · 0.90
addHookFunction · 0.90
getSuiteHooksFunction · 0.90
getAroundEachHooksFunction · 0.90
getAroundAllHooksFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected