Skip to content

Commit b5f934d

Browse files
authored
Add Node.js 17 reporter logs
1 parent 9d35593 commit b5f934d

14 files changed

+932
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
---tty-stream-chunk-separator
3+
⚠ Could not parse ast-syntax-error.cjs for line number selection
4+
---tty-stream-chunk-separator
5+
6+
Uncaught exception in ast-syntax-error.cjs
7+
8+
SyntaxError: Unexpected token 'do'
9+
10+
---tty-stream-chunk-separator
11+
✖ ast-syntax-error.cjs exited with a non-zero exit code: 1
12+
---tty-stream-chunk-separator
13+
✖ No tests found in ava-import-no-test-declaration.cjs
14+
---tty-stream-chunk-separator
15+
16+
Uncaught exception in import-and-use-test-member.cjs
17+
18+
import-and-use-test-member.cjs:3
19+
20+
2:
21+
 3: test('pass', t => t.pass());
22+
4:
23+
24+
TypeError: test is not a function
25+
26+
› Object.<anonymous> (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1)
27+
28+
---tty-stream-chunk-separator
29+
✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1
30+
---tty-stream-chunk-separator
31+
✖ No tests found in no-ava-import.cjs, make sure to import "ava" at the top of your test file
32+
---tty-stream-chunk-separator
33+
✖ Line numbers for test.cjs did not match any tests
34+
---tty-stream-chunk-separator
35+
36+
Uncaught exception in throws.cjs
37+
38+
throws.cjs:1
39+
40+
 1: throw new Error('throws');
41+
2:
42+
43+
Error: throws
44+
45+
› Object.<anonymous> (test-tap/fixture/report/edgecases/throws.cjs:1:7)
46+
47+
---tty-stream-chunk-separator
48+
✖ throws.cjs exited with a non-zero exit code: 1
49+
---tty-stream-chunk-separator
50+
─
51+
52+
3 uncaught exceptions
53+
---tty-stream-chunk-separator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
---tty-stream-chunk-separator
3+
✖ a › fails Test failed via `t.fail()`
4+
---tty-stream-chunk-separator
5+
─
6+
7+
a › fails
8+
9+
a.cjs:3
10+
11+
2:
12+
 3: test('fails', t => t.fail());
13+
4:
14+
15+
Test failed via `t.fail()`
16+
17+
› test-tap/fixture/report/failfast/a.cjs:3:22
18+
19+
─
20+
21+
`--fail-fast` is on. 1 test file was skipped.
22+
23+
1 test failed
24+
---tty-stream-chunk-separator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
---tty-stream-chunk-separator
3+
✖ a › fails Test failed via `t.fail()`
4+
---tty-stream-chunk-separator
5+
─
6+
7+
a › fails
8+
9+
a.cjs:3
10+
11+
2:
12+
 3: test('fails', t => t.fail()); 
13+
4: test('passes', t => t.pass());
14+
15+
Test failed via `t.fail()`
16+
17+
› test-tap/fixture/report/failfast2/a.cjs:3:22
18+
19+
─
20+
21+
`--fail-fast` is on. At least 1 test was skipped, as well as 1 test file.
22+
23+
1 test failed
24+
---tty-stream-chunk-separator
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
---tty-stream-chunk-separator
3+
✔ a › only
4+
---tty-stream-chunk-separator
5+
✔ b › passes
6+
---tty-stream-chunk-separator
7+
─
8+
9+
2 tests passed
10+
---tty-stream-chunk-separator

0 commit comments

Comments
 (0)