diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/subdir/test_worker.js | 4 | ||||
-rw-r--r-- | cli/tests/workers_test.ts | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cli/tests/subdir/test_worker.js b/cli/tests/subdir/test_worker.js index 02cd86eac..4260975a6 100644 --- a/cli/tests/subdir/test_worker.js +++ b/cli/tests/subdir/test_worker.js @@ -1,7 +1,7 @@ let thrown = false; -if (self.name !== "jsWorker") { - throw Error(`Bad worker name: ${self.name}, expected jsWorker`); +if (self.name !== "") { + throw Error(`Bad worker name: ${self.name}, expected empty string.`); } onmessage = function (e) { diff --git a/cli/tests/workers_test.ts b/cli/tests/workers_test.ts index d18186658..c51adcf75 100644 --- a/cli/tests/workers_test.ts +++ b/cli/tests/workers_test.ts @@ -34,7 +34,6 @@ Deno.test({ const jsWorker = new Worker("../tests/subdir/test_worker.js", { type: "module", - name: "jsWorker", }); const tsWorker = new Worker("../tests/subdir/test_worker.ts", { type: "module", |