MCPcopy
hub / github.com/vitest-dev/vitest / basic.test.ts

File basic.test.ts

test/browser/fixtures/worker/src/basic.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, test } from 'vitest'
2
3test('worker dynamic dep', async () => {
4 const worker = new Worker(new URL('./worker', import.meta.url), { type: 'module' });

Callers

nothing calls this directly

Calls 5

addEventListenerMethod · 0.80
testFunction · 0.50
resolveFunction · 0.50
rejectFunction · 0.50
postMessageMethod · 0.45

Tested by

no test coverage detected