mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
f52031ecdf
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>
23 lines
577 B
Text
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
|