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

File index.js

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

Source from the content-addressed store, hash-verified

1it("should allow to create a Worker in node and on the web", async () => {
2 const worker = new Worker(new URL("./worker.js", import.meta.url), {
3 type: "module"
4 });

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