1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/cli/tests/testdata/test/aggregate_error.out
Bartek Iwańczuk f52031ecdf
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>
2022-04-18 15:22:23 +02:00

23 lines
577 B
Text

running 1 test from ./test/aggregate_error.ts
aggregate ... FAILED ([WILDCARD])
failures:
./test/aggregate_error.ts > aggregate
AggregateError
Error: Error 1
at [WILDCARD]/testdata/test/aggregate_error.ts:2:18
Error: Error 2
at [WILDCARD]/testdata/test/aggregate_error.ts:3:18
throw new AggregateError([error1, error2]);
^
at [WILDCARD]/testdata/test/aggregate_error.ts:5:9
failures:
./test/aggregate_error.ts
aggregate
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
error: Test failed