diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-04-11 07:08:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 02:08:11 -0400 |
commit | 2b362bef8523f3d8c05ce5d3d4b4a839b669568d (patch) | |
tree | dd5c567e66fc3141fa486c93ce2e899aba802fe4 /cli/tests/integration_tests.rs | |
parent | 2feb661b858f3c8380ceb0362d137079e12b9248 (diff) |
refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 31a4a9c66..d043958a9 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1371,11 +1371,39 @@ itest!(error_018_hide_long_source_js { exit_code: 1, }); -itest!(error_stack { - args: "run --reload error_stack.ts", +itest!(error_019_stack_function { + args: "error_019_stack_function.ts", + output: "error_019_stack_function.ts.out", + check_stderr: true, + exit_code: 1, +}); + +itest!(error_020_stack_constructor { + args: "error_020_stack_constructor.ts", + output: "error_020_stack_constructor.ts.out", + check_stderr: true, + exit_code: 1, +}); + +itest!(error_021_stack_method { + args: "error_021_stack_method.ts", + output: "error_021_stack_method.ts.out", + check_stderr: true, + exit_code: 1, +}); + +itest!(error_022_stack_custom_error { + args: "error_022_stack_custom_error.ts", + output: "error_022_stack_custom_error.ts.out", + check_stderr: true, + exit_code: 1, +}); + +itest!(error_023_stack_async { + args: "error_023_stack_async.ts", + output: "error_023_stack_async.ts.out", check_stderr: true, exit_code: 1, - output: "error_stack.ts.out", }); itest!(error_syntax { |