Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
33
export
function
getHooks(key: Suite): SuiteHooks {
34
return
hooksMap.get(key)
35
}
Callers
5
collectTests
Function · 0.90
addHook
Function · 0.90
getSuiteHooks
Function · 0.90
getAroundEachHooks
Function · 0.90
getAroundAllHooks
Function · 0.90
Calls
1
get
Method · 0.45
Tested by
no test coverage detected