summaryrefslogtreecommitdiff
path: root/tests/testdata/run/error_022_stack_custom_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/error_022_stack_custom_error.ts')
-rw-r--r--tests/testdata/run/error_022_stack_custom_error.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/testdata/run/error_022_stack_custom_error.ts b/tests/testdata/run/error_022_stack_custom_error.ts
deleted file mode 100644
index b95743503..000000000
--- a/tests/testdata/run/error_022_stack_custom_error.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-class CustomError extends Error {
- constructor() {
- super();
- this.name = "CustomError";
- }
-
- get message(): string {
- return "custom error";
- }
-}
-
-const error = new CustomError();
-console.log(error.stack);
-throw error;