mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
9cc7e32e37
This adds an exit sanitizer to ensure that code being tested or dependencies of that code can't accidentally call "Deno.exit" leading to partial test runs and false results.
28 lines
560 B
Text
28 lines
560 B
Text
Check [WILDCARD]/$deno$test.ts
|
|
running 3 tests
|
|
test exit(0) ... FAILED ([WILDCARD])
|
|
test exit(1) ... FAILED ([WILDCARD])
|
|
test exit(2) ... FAILED ([WILDCARD])
|
|
|
|
failures:
|
|
|
|
exit(0)
|
|
AssertionError: Test case attempted to exit with exit code: 0
|
|
[WILDCARD]
|
|
|
|
exit(1)
|
|
AssertionError: Test case attempted to exit with exit code: 1
|
|
[WILDCARD]
|
|
|
|
exit(2)
|
|
AssertionError: Test case attempted to exit with exit code: 2
|
|
[WILDCARD]
|
|
|
|
failures:
|
|
|
|
exit(0)
|
|
exit(1)
|
|
exit(2)
|
|
|
|
test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
|
|