mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04: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>
20 lines
380 B
Text
20 lines
380 B
Text
Check [WILDCARD]/test/fail_fast.ts
|
|
running 10 tests from ./test/fail_fast.ts
|
|
test 1 ... FAILED ([WILDCARD])
|
|
|
|
failures:
|
|
|
|
./test/fail_fast.ts > test 1
|
|
Error
|
|
throw new Error();
|
|
^
|
|
at [WILDCARD]/test/fail_fast.ts:2:9
|
|
|
|
failures:
|
|
|
|
./test/fail_fast.ts
|
|
test 1
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
|
|
|
error: Test failed
|