summaryrefslogtreecommitdiff
path: root/tests/testdata/run/report_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/report_error.ts')
-rw-r--r--tests/testdata/run/report_error.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdata/run/report_error.ts b/tests/testdata/run/report_error.ts
new file mode 100644
index 000000000..a6d4af1fd
--- /dev/null
+++ b/tests/testdata/run/report_error.ts
@@ -0,0 +1,3 @@
+console.log(1);
+reportError(new Error("foo"));
+console.log(2);