summaryrefslogtreecommitdiff
path: root/cli/tests/subdir/test_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/subdir/test_worker.js')
-rw-r--r--cli/tests/subdir/test_worker.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/tests/subdir/test_worker.js b/cli/tests/subdir/test_worker.js
index f0d9fbed6..70e1d8b73 100644
--- a/cli/tests/subdir/test_worker.js
+++ b/cli/tests/subdir/test_worker.js
@@ -1,6 +1,5 @@
let thrown = false;
-// TODO(bartlomieju): add test for throwing in web worker
if (self.name !== "jsWorker") {
throw Error(`Bad worker name: ${self.name}, expected jsWorker`);
}
@@ -14,7 +13,6 @@ onmessage = function(e) {
}
postMessage(e.data);
-
close();
};