summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/error_019_stack_function.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/error_019_stack_function.ts')
-rw-r--r--cli/tests/testdata/run/error_019_stack_function.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/tests/testdata/run/error_019_stack_function.ts b/cli/tests/testdata/run/error_019_stack_function.ts
deleted file mode 100644
index a6a69d146..000000000
--- a/cli/tests/testdata/run/error_019_stack_function.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-function foo(): never {
- throw new Error("function");
-}
-
-try {
- foo();
-} catch (error) {
- if (error instanceof Error) {
- console.log(error.stack);
- }
- throw error;
-}