summaryrefslogtreecommitdiff
path: root/tests/testdata/workers/throwing_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/workers/throwing_worker.js')
-rw-r--r--tests/testdata/workers/throwing_worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdata/workers/throwing_worker.js b/tests/testdata/workers/throwing_worker.js
new file mode 100644
index 000000000..56ee4ff88
--- /dev/null
+++ b/tests/testdata/workers/throwing_worker.js
@@ -0,0 +1,2 @@
+// This worker just throws error when it's being executed
+throw Error("Thrown error");