summaryrefslogtreecommitdiff
path: root/cli/tests/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/subdir')
-rw-r--r--cli/tests/subdir/test_worker.js4
1 files changed, 2 insertions, 2 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) {