1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli/tests/testdata/workers/nonexistent_worker.ts
2022-07-20 16:56:53 +02:00

5 lines
112 B
TypeScript

const w = new Worker(import.meta.resolve("./doesnt_exist.js"), {
type: "module",
});
w.postMessage("hello");