diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-01-17 15:28:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 16:28:54 +0100 |
commit | 7db0605d456559f1ca9447e6fa778559fe50cc95 (patch) | |
tree | 8607446306b6e526dab149a465cac3e3d825b96b /cli/tests/workers_test.ts | |
parent | f4dbb267c6672f92605bc204b10ad9a96d160ef4 (diff) |
fix(op_crates/web): Use WorkerLocation for location in workers (#9084)
Diffstat (limited to 'cli/tests/workers_test.ts')
-rw-r--r-- | cli/tests/workers_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/workers_test.ts b/cli/tests/workers_test.ts index 2ea6f6cf5..66444411e 100644 --- a/cli/tests/workers_test.ts +++ b/cli/tests/workers_test.ts @@ -648,7 +648,7 @@ Deno.test({ new URL("subdir/worker_location.ts", import.meta.url).href; const w = new Worker(workerModuleHref, { type: "module" }); w.onmessage = (e): void => { - assertEquals(e.data, workerModuleHref); + assertEquals(e.data, `${workerModuleHref}, true`); promise.resolve(); }; w.postMessage("Hello, world!"); |