diff options
author | andy finch <andyfinch7@gmail.com> | 2019-08-08 17:38:53 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-08 14:38:53 -0700 |
commit | 56a82e72d9867a9b5f8a10bc8e4b81b86cd815c9 (patch) | |
tree | 5780460a81c6b4d748b91d96493e2ee9ed13addc /tests/039_worker_deno_ns/no_ns.ts | |
parent | 520bdb6c31dd08b6f4e52de5116fd23d6d57fdda (diff) |
Resolve worker specifiers relative to main module of host. (#2751)
Diffstat (limited to 'tests/039_worker_deno_ns/no_ns.ts')
-rw-r--r-- | tests/039_worker_deno_ns/no_ns.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/039_worker_deno_ns/no_ns.ts b/tests/039_worker_deno_ns/no_ns.ts index 4cee98bea..0489a00a3 100644 --- a/tests/039_worker_deno_ns/no_ns.ts +++ b/tests/039_worker_deno_ns/no_ns.ts @@ -2,7 +2,7 @@ onmessage = (msg): void => { if (msg.data === "START") { postMessage("no_ns.ts: is window.Deno available: " + !!window.Deno); } else { - const worker = new Worker("./tests/039_worker_deno_ns/maybe_ns.ts"); + const worker = new Worker("./maybe_ns.ts"); worker.onmessage = (msg): void => { postMessage("[SPAWNED BY no_ns.ts] " + msg.data); }; |