MCPcopy
hub / github.com/webpack/webpack / index.js

File index.js

test/configCases/worker/node-worker/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Worker } from "worker_threads";
2
3it("should allow to create a WebWorker", async () => {
4 const worker = new Worker(

Callers

nothing calls this directly

Calls 5

resolveFunction · 0.85
postMessageMethod · 0.80
terminateMethod · 0.80
upperFunction · 0.70
itFunction · 0.50

Tested by

no test coverage detected