Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ web-worker-node.test.ts
File
web-worker-node.test.ts
test/core/test/web-worker-node.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// @vitest-environment node
2
3
import
type
{ defineWebWorkers } from
'@vitest/web-worker/pure'
4
Callers
nothing calls this directly
Calls
13
beforeEach
Function · 0.85
testWorker
Function · 0.85
testSelfWorker
Function · 0.85
afterEach
Function · 0.85
sendEventMessage
Function · 0.85
sendOnMessage
Function · 0.85
terminate
Method · 0.80
addEventListener
Method · 0.80
resolve
Function · 0.70
reject
Function · 0.70
sleep
Function · 0.70
postMessage
Method · 0.45
Tested by
no test coverage detected