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

File index.js

test/hotCases/worker/update-in-worker/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1it("should support hot module replacement in WebWorkers", done => {
2 const worker = new Worker(new URL("worker.js", import.meta.url));
3 worker.onmessage = ({ data: msg }) => {
4 switch (msg) {

Callers

nothing calls this directly

Calls 4

postMessageMethod · 0.80
terminateMethod · 0.80
resolveMethod · 0.65
itFunction · 0.50

Tested by

no test coverage detected