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/026_workers.ts | |
parent | 520bdb6c31dd08b6f4e52de5116fd23d6d57fdda (diff) |
Resolve worker specifiers relative to main module of host. (#2751)
Diffstat (limited to 'tests/026_workers.ts')
-rw-r--r-- | tests/026_workers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/026_workers.ts b/tests/026_workers.ts index e001f03e6..f45fc4b77 100644 --- a/tests/026_workers.ts +++ b/tests/026_workers.ts @@ -1,5 +1,5 @@ -const jsWorker = new Worker("./tests/subdir/test_worker.js"); -const tsWorker = new Worker("./tests/subdir/test_worker.ts"); +const jsWorker = new Worker("./subdir/test_worker.js"); +const tsWorker = new Worker("./subdir/test_worker.ts"); tsWorker.onmessage = (e): void => { console.log("Received ts: " + e.data); |