0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04: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");