summaryrefslogtreecommitdiff
path: root/tests/testdata/workers/error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/workers/error.ts')
-rw-r--r--tests/testdata/workers/error.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/workers/error.ts b/tests/testdata/workers/error.ts
new file mode 100644
index 000000000..495971090
--- /dev/null
+++ b/tests/testdata/workers/error.ts
@@ -0,0 +1,5 @@
+function foo() {
+ throw new Error("foo");
+}
+
+foo();