MCPcopy
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
3import type { defineWebWorkers } from '@vitest/web-worker/pure'
4

Callers

nothing calls this directly

Calls 13

beforeEachFunction · 0.85
testWorkerFunction · 0.85
testSelfWorkerFunction · 0.85
afterEachFunction · 0.85
sendEventMessageFunction · 0.85
sendOnMessageFunction · 0.85
terminateMethod · 0.80
addEventListenerMethod · 0.80
resolveFunction · 0.70
rejectFunction · 0.70
sleepFunction · 0.70
postMessageMethod · 0.45

Tested by

no test coverage detected