diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-04-18 15:22:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-18 15:22:23 +0200 |
| commit | f52031ecdf4520e6d404553691da193356e58691 (patch) | |
| tree | bdb928a550a77abc9a40180f985e8b0bbb0869cf /cli/tests/testdata/test/exit_sanitizer.out | |
| parent | 7919dc902d3664bb8600be884ec775f44fd37389 (diff) | |
feat(test): skip internal stack frames for errors (#14302)
This commit changes "deno test" to filter out stack frames if it is beneficial to the user.
This is the case when there are stack frames coming from "internal" code
below frames coming from user code.
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
Diffstat (limited to 'cli/tests/testdata/test/exit_sanitizer.out')
| -rw-r--r-- | cli/tests/testdata/test/exit_sanitizer.out | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/tests/testdata/test/exit_sanitizer.out b/cli/tests/testdata/test/exit_sanitizer.out index a0a659cb6..5468af1df 100644 --- a/cli/tests/testdata/test/exit_sanitizer.out +++ b/cli/tests/testdata/test/exit_sanitizer.out @@ -12,7 +12,6 @@ AssertionError: Test case attempted to exit with exit code: 0 ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:2:8 - at [WILDCARD] ./test/exit_sanitizer.ts > exit(1) AssertionError: Test case attempted to exit with exit code: 1 @@ -20,7 +19,6 @@ AssertionError: Test case attempted to exit with exit code: 1 ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:6:8 - at [WILDCARD] ./test/exit_sanitizer.ts > exit(2) AssertionError: Test case attempted to exit with exit code: 2 @@ -28,7 +26,6 @@ AssertionError: Test case attempted to exit with exit code: 2 ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:10:8 - at [WILDCARD] failures: |
