Files
Kmake/test/fixtures/test-runner/output/hooks_spec_reporter.snapshot
2026-05-26 23:36:42 -07:00

462 lines
5.1 KiB
Plaintext

- after() called
describe hooks
1 (*ms)
2 (*ms)
nested
nested 1 (*ms)
nested 2 (*ms)
nested (*ms)
describe hooks (*ms)
describe hooks - no subtests (*ms)
before throws
1
2
before throws (*ms)
before throws - no subtests (*ms)
after throws
1 (*ms)
2 (*ms)
after throws (*ms)
after throws - no subtests (*ms)
beforeEach throws
1 (*ms)
2 (*ms)
beforeEach throws (*ms)
afterEach throws
1 (*ms)
2 (*ms)
afterEach throws (*ms)
afterEach when test fails
1 (*ms)
2 (*ms)
afterEach when test fails (*ms)
afterEach throws and test fails
1 (*ms)
2 (*ms)
afterEach throws and test fails (*ms)
test hooks
1 (*ms)
2 (*ms)
nested
nested 1 (*ms)
nested 2 (*ms)
nested (*ms)
test hooks (*ms)
test hooks - no subtests (*ms)
t.before throws
1 (*ms)
2 (*ms)
t.before throws (*ms)
t.before throws - no subtests (*ms)
t.after throws
1 (*ms)
2 (*ms)
t.after throws (*ms)
t.after throws - no subtests (*ms)
t.beforeEach throws
1 (*ms)
2 (*ms)
t.beforeEach throws (*ms)
t.afterEach throws
1 (*ms)
2 (*ms)
t.afterEach throws (*ms)
afterEach when test fails
1 (*ms)
2 (*ms)
afterEach when test fails (*ms)
afterEach context when test passes
1 (*ms)
afterEach context when test passes (*ms)
afterEach context when test fails
1 (*ms)
afterEach context when test fails (*ms)
afterEach throws and test fails
1 (*ms)
2 (*ms)
afterEach throws and test fails (*ms)
t.after() is called if test body throws (*ms)
- after() called
run after when before throws
1
run after when before throws (*ms)
test hooks - async
1 (*ms)
2 (*ms)
test hooks - async (*ms)
before 1 called
before 2 called
after 1 called
after 2 called
tests 52
suites 12
pass 22
fail 27
cancelled 3
skipped 0
todo 0
duration_ms *
failing tests:
*
1
'test did not finish before its parent and was cancelled'
*
2
'test did not finish before its parent and was cancelled'
*
before throws (*ms)
Error: before
*
*
*
*
*
*
*
*
*
before throws - no subtests (*ms)
Error: before
*
*
*
*
*
*
*
*
*
after throws (*ms)
Error: after
*
*
*
*
*
*
*
*
*
*
*
after throws - no subtests (*ms)
Error: after
*
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: beforeEach
*
*
*
*
*
*
*
*
*
at new Promise (<anonymous>)
*
2 (*ms)
Error: beforeEach
*
*
*
*
*
*
*
*
*
at async Promise.all (index 0)
*
1 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
at async Promise.all (index 0)
*
*
2 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: test
*
*
*
*
*
*
at new Promise (<anonymous>)
*
*
at Array.map (<anonymous>)
*
1 (*ms)
Error: test
*
*
*
*
*
*
at new Promise (<anonymous>)
*
*
at Array.map (<anonymous>)
*
2 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: before
*
*
*
*
*
*
*
*
*
*
*
2 (*ms)
Error: before
*
*
*
*
*
*
*
*
*
*
*
t.before throws (*ms)
Error: before
*
*
*
*
*
*
*
*
*
*
*
t.before throws - no subtests (*ms)
Error: before
*
*
*
*
*
*
*
*
*
*
*
t.after throws (*ms)
Error: after
*
*
*
*
*
*
*
*
*
*
t.after throws - no subtests (*ms)
Error: after
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: beforeEach
*
*
*
*
*
*
*
*
*
*
*
2 (*ms)
Error: beforeEach
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
*
2 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: test
*
*
*
*
*
*
*
*
*
*
1 (*ms)
Error: test
*
*
*
*
*
1 (*ms)
Error: test
*
*
*
*
*
*
*
*
*
*
2 (*ms)
Error: afterEach
*
*
*
*
*
*
*
*
*
*
t.after() is called if test body throws (*ms)
Error: bye
*
*
*
*
*
1
'test did not finish before its parent and was cancelled'
*
run after when before throws (*ms)
Error: before
*
*
*
*
*
*
*
*