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