Skip to content

Commit 99ab93a

Browse files
tymfearDaudov, Tymurnovemberborn
authoredDec 23, 2020
Upgrade supertap and print t.log entries according to TAP diagnostics spec
Co-authored-by: Daudov, Tymur <tymur.daudov@f-secure.com> Co-authored-by: Mark Wubben <mark@novemberborn.net>
1 parent 5d3b200 commit 99ab93a

23 files changed

+219
-346
lines changed
 

‎lib/reporters/tap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class TapReporter {
125125
this.reportStream.write(`# ${stripAnsi(title)}${os.EOL}`);
126126
if (evt.logs) {
127127
for (const log of evt.logs) {
128-
const logLines = indentString(log, 4).replace(/^ {4}/, ' # ');
128+
const logLines = indentString(log, 4).replace(/^ {4}/gm, '# ');
129129
this.reportStream.write(`${logLines}${os.EOL}`);
130130
}
131131
}

‎package-lock.json

+69-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"source-map-support": "^0.5.19",
107107
"stack-utils": "^2.0.3",
108108
"strip-ansi": "^6.0.0",
109-
"supertap": "^1.0.0",
109+
"supertap": "^2.0.0",
110110
"temp-dir": "^2.0.0",
111111
"trim-off-newlines": "^1.0.1",
112112
"update-notifier": "^5.0.1",

‎test-tap/reporters/tap.edgecases.v10.log

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# No tests found in ava-import-no-test-declaration.js
43
not ok 1 - No tests found in ava-import-no-test-declaration.js
54
---tty-stream-chunk-separator
6-
# TypeError: test is not a function
75
not ok 2 - TypeError: test is not a function
86
---
97
name: TypeError
@@ -13,21 +11,17 @@ not ok 2 - TypeError: test is not a function
1311
(test-tap/fixture/report/edgecases/import-and-use-test-member.js:3:1)
1412
...
1513
---tty-stream-chunk-separator
16-
# import-and-use-test-member.js exited with a non-zero exit code: 1
1714
not ok 3 - import-and-use-test-member.js exited with a non-zero exit code: 1
1815
---tty-stream-chunk-separator
19-
# No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2016
not ok 4 - No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2117
---tty-stream-chunk-separator
22-
# Error: throws
2318
not ok 5 - Error: throws
2419
---
2520
name: Error
2621
message: throws
2722
at: 'Object.<anonymous> (test-tap/fixture/report/edgecases/throws.js:1:7)'
2823
...
2924
---tty-stream-chunk-separator
30-
# throws.js exited with a non-zero exit code: 1
3125
not ok 6 - throws.js exited with a non-zero exit code: 1
3226
---tty-stream-chunk-separator
3327

‎test-tap/reporters/tap.edgecases.v12.log

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# No tests found in ava-import-no-test-declaration.js
43
not ok 1 - No tests found in ava-import-no-test-declaration.js
54
---tty-stream-chunk-separator
6-
# TypeError: test is not a function
75
not ok 2 - TypeError: test is not a function
86
---
97
name: TypeError
@@ -13,21 +11,17 @@ not ok 2 - TypeError: test is not a function
1311
(test-tap/fixture/report/edgecases/import-and-use-test-member.js:3:1)
1412
...
1513
---tty-stream-chunk-separator
16-
# import-and-use-test-member.js exited with a non-zero exit code: 1
1714
not ok 3 - import-and-use-test-member.js exited with a non-zero exit code: 1
1815
---tty-stream-chunk-separator
19-
# No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2016
not ok 4 - No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2117
---tty-stream-chunk-separator
22-
# Error: throws
2318
not ok 5 - Error: throws
2419
---
2520
name: Error
2621
message: throws
2722
at: 'Object.<anonymous> (test-tap/fixture/report/edgecases/throws.js:1:7)'
2823
...
2924
---tty-stream-chunk-separator
30-
# throws.js exited with a non-zero exit code: 1
3125
not ok 6 - throws.js exited with a non-zero exit code: 1
3226
---tty-stream-chunk-separator
3327

‎test-tap/reporters/tap.edgecases.v14.log

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# No tests found in ava-import-no-test-declaration.js
43
not ok 1 - No tests found in ava-import-no-test-declaration.js
54
---tty-stream-chunk-separator
6-
# TypeError: test is not a function
75
not ok 2 - TypeError: test is not a function
86
---
97
name: TypeError
@@ -13,21 +11,17 @@ not ok 2 - TypeError: test is not a function
1311
(test-tap/fixture/report/edgecases/import-and-use-test-member.js:3:1)
1412
...
1513
---tty-stream-chunk-separator
16-
# import-and-use-test-member.js exited with a non-zero exit code: 1
1714
not ok 3 - import-and-use-test-member.js exited with a non-zero exit code: 1
1815
---tty-stream-chunk-separator
19-
# No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2016
not ok 4 - No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2117
---tty-stream-chunk-separator
22-
# Error: throws
2318
not ok 5 - Error: throws
2419
---
2520
name: Error
2621
message: throws
2722
at: 'Object.<anonymous> (test-tap/fixture/report/edgecases/throws.js:1:7)'
2823
...
2924
---tty-stream-chunk-separator
30-
# throws.js exited with a non-zero exit code: 1
3125
not ok 6 - throws.js exited with a non-zero exit code: 1
3226
---tty-stream-chunk-separator
3327

‎test-tap/reporters/tap.edgecases.v15.log

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# No tests found in ava-import-no-test-declaration.js
43
not ok 1 - No tests found in ava-import-no-test-declaration.js
54
---tty-stream-chunk-separator
6-
# TypeError: test is not a function
75
not ok 2 - TypeError: test is not a function
86
---
97
name: TypeError
@@ -13,21 +11,17 @@ not ok 2 - TypeError: test is not a function
1311
(test-tap/fixture/report/edgecases/import-and-use-test-member.js:3:1)
1412
...
1513
---tty-stream-chunk-separator
16-
# import-and-use-test-member.js exited with a non-zero exit code: 1
1714
not ok 3 - import-and-use-test-member.js exited with a non-zero exit code: 1
1815
---tty-stream-chunk-separator
19-
# No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2016
not ok 4 - No tests found in no-ava-import.js, make sure to import "ava" at the top of your test file
2117
---tty-stream-chunk-separator
22-
# Error: throws
2318
not ok 5 - Error: throws
2419
---
2520
name: Error
2621
message: throws
2722
at: 'Object.<anonymous> (test-tap/fixture/report/edgecases/throws.js:1:7)'
2823
...
2924
---tty-stream-chunk-separator
30-
# throws.js exited with a non-zero exit code: 1
3125
not ok 6 - throws.js exited with a non-zero exit code: 1
3226
---tty-stream-chunk-separator
3327

‎test-tap/reporters/tap.failfast.v10.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast.v12.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast.v14.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast.v15.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast2.v10.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast2.v12.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast2.v14.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.failfast2.v15.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › fails
4-
not ok 1 - a › fails
3+
not ok 1 - a › fails
54
---
65
name: AssertionError
76
message: Test failed via `t.fail()`

‎test-tap/reporters/tap.only.v10.log

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › only
4-
ok 1 - a › only
3+
ok 1 - a › only
54
---tty-stream-chunk-separator
6-
# b › passes
7-
ok 2 - b › passes
5+
ok 2 - b › passes
86
---tty-stream-chunk-separator
97

108
1..2

‎test-tap/reporters/tap.only.v12.log

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › only
4-
ok 1 - a › only
3+
ok 1 - a › only
54
---tty-stream-chunk-separator
6-
# b › passes
7-
ok 2 - b › passes
5+
ok 2 - b › passes
86
---tty-stream-chunk-separator
97

108
1..2

‎test-tap/reporters/tap.only.v14.log

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › only
4-
ok 1 - a › only
3+
ok 1 - a › only
54
---tty-stream-chunk-separator
6-
# b › passes
7-
ok 2 - b › passes
5+
ok 2 - b › passes
86
---tty-stream-chunk-separator
97

108
1..2

‎test-tap/reporters/tap.only.v15.log

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# a › only
4-
ok 1 - a › only
3+
ok 1 - a › only
54
---tty-stream-chunk-separator
6-
# b › passes
7-
ok 2 - b › passes
5+
ok 2 - b › passes
86
---tty-stream-chunk-separator
97

108
1..2

‎test-tap/reporters/tap.regular.v10.log

+33-63
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# TypeError: test.serial.test is not a function
43
not ok 1 - TypeError: test.serial.test is not a function
54
---
65
name: TypeError
76
message: test.serial.test is not a function
87
at: 'Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.js:3:13)'
98
...
109
---tty-stream-chunk-separator
11-
# bad-test-chain.js exited with a non-zero exit code: 1
1210
not ok 2 - bad-test-chain.js exited with a non-zero exit code: 1
1311
---tty-stream-chunk-separator
14-
# nested-objects › format with max depth 4
15-
not ok 3 - nested-objects › format with max depth 4
12+
not ok 3 - nested-objects › format with max depth 4
1613
---
1714
name: AssertionError
1815
assertion: deepEqual
@@ -35,8 +32,7 @@ not ok 3 - nested-objects › format with max depth 4
3532
at: 't (test-tap/fixture/report/regular/nested-objects.js:28:4)'
3633
...
3734
---tty-stream-chunk-separator
38-
# nested-objects › format like with max depth 4
39-
not ok 4 - nested-objects › format like with max depth 4
35+
not ok 4 - nested-objects › format like with max depth 4
4036
---
4137
name: AssertionError
4238
assertion: like
@@ -57,21 +53,19 @@ not ok 4 - nested-objects › format like with max depth 4
5753
---tty-stream-chunk-separator
5854
# output-in-hook › before hook
5955
---tty-stream-chunk-separator
60-
# before
56+
# before
6157
---tty-stream-chunk-separator
6258
# output-in-hook › beforeEach hook for passing test
6359
---tty-stream-chunk-separator
64-
# beforeEach
60+
# beforeEach
6561
---tty-stream-chunk-separator
6662
# output-in-hook › beforeEach hook for failing test
6763
---tty-stream-chunk-separator
68-
# beforeEach
64+
# beforeEach
6965
---tty-stream-chunk-separator
70-
# output-in-hook › passing test
71-
ok 5 - output-in-hook › passing test
66+
ok 5 - output-in-hook › passing test
7267
---tty-stream-chunk-separator
73-
# output-in-hook › failing test
74-
not ok 6 - output-in-hook › failing test
68+
not ok 6 - output-in-hook › failing test
7569
---
7670
name: AssertionError
7771
message: Test failed via `t.fail()`
@@ -81,43 +75,37 @@ not ok 6 - output-in-hook › failing test
8175
---tty-stream-chunk-separator
8276
# output-in-hook › afterEach hook for passing test
8377
---tty-stream-chunk-separator
84-
# afterEach
78+
# afterEach
8579
---tty-stream-chunk-separator
8680
# output-in-hook › afterEach.always hook for failing test
8781
---tty-stream-chunk-separator
88-
# afterEachAlways
82+
# afterEachAlways
8983
---tty-stream-chunk-separator
9084
# output-in-hook › afterEach.always hook for passing test
9185
---tty-stream-chunk-separator
92-
# afterEachAlways
86+
# afterEachAlways
9387
---tty-stream-chunk-separator
9488
# output-in-hook › cleanup
9589
---tty-stream-chunk-separator
96-
# afterAlways
90+
# afterAlways
9791
---tty-stream-chunk-separator
98-
# test › skip
99-
ok 7 - test › skip # SKIP
92+
ok 7 - test › skip # SKIP
10093
---tty-stream-chunk-separator
101-
# test › todo
102-
not ok 8 - test › todo # TODO
94+
not ok 8 - test › todo # TODO
10395
---tty-stream-chunk-separator
104-
# test › passes
105-
ok 9 - test › passes
96+
ok 9 - test › passes
10697
---tty-stream-chunk-separator
107-
# test › fails
108-
not ok 10 - test › fails
98+
not ok 10 - test › fails
10999
---
110100
name: AssertionError
111101
message: Test failed via `t.fail()`
112102
assertion: fail
113103
at: 't (test-tap/fixture/report/regular/test.js:9:22)'
114104
...
115105
---tty-stream-chunk-separator
116-
# test › known failure
117-
ok 11 - test › known failure
106+
ok 11 - test › known failure
118107
---tty-stream-chunk-separator
119-
# test › no longer failing
120-
not ok 12 - test › no longer failing
108+
not ok 12 - test › no longer failing
121109
---
122110
name: Error
123111
message: >-
@@ -126,19 +114,17 @@ not ok 12 - test › no longer failing
126114
at: ''
127115
...
128116
---tty-stream-chunk-separator
129-
# test › logs
130-
not ok 13 - test › logs
131-
* hello
132-
* world
117+
not ok 13 - test › logs
118+
# hello
119+
# world
133120
---
134121
name: AssertionError
135122
message: Test failed via `t.fail()`
136123
assertion: fail
137124
at: 't (test-tap/fixture/report/regular/test.js:18:4)'
138125
...
139126
---tty-stream-chunk-separator
140-
# test › formatted
141-
not ok 14 - test › formatted
127+
not ok 14 - test › formatted
142128
---
143129
name: AssertionError
144130
assertion: deepEqual
@@ -149,8 +135,7 @@ not ok 14 - test › formatted
149135
at: 't (test-tap/fixture/report/regular/test.js:22:4)'
150136
...
151137
---tty-stream-chunk-separator
152-
# test › power-assert
153-
not ok 15 - test › power-assert
138+
not ok 15 - test › power-assert
154139
---
155140
name: AssertionError
156141
assertion: assert
@@ -160,8 +145,7 @@ not ok 15 - test › power-assert
160145
at: 't (test-tap/fixture/report/regular/test.js:27:4)'
161146
...
162147
---tty-stream-chunk-separator
163-
# test › bad throws
164-
not ok 16 - test › bad throws
148+
not ok 16 - test › bad throws
165149
---
166150
name: AssertionError
167151
message: Improper usage of `t.throws()` detected
@@ -176,8 +160,7 @@ not ok 16 - test › bad throws
176160
t (test-tap/fixture/report/regular/test.js:35:11)
177161
...
178162
---tty-stream-chunk-separator
179-
# test › bad notThrows
180-
not ok 17 - test › bad notThrows
163+
not ok 17 - test › bad notThrows
181164
---
182165
name: AssertionError
183166
message: Improper usage of `t.notThrows()` detected
@@ -192,8 +175,7 @@ not ok 17 - test › bad notThrows
192175
t (test-tap/fixture/report/regular/test.js:43:14)
193176
...
194177
---tty-stream-chunk-separator
195-
# test › implementation throws non-error
196-
not ok 18 - test › implementation throws non-error
178+
not ok 18 - test › implementation throws non-error
197179
---
198180
name: AssertionError
199181
message: Error thrown in test
@@ -202,8 +184,7 @@ not ok 18 - test › implementation throws non-error
202184
at: ''
203185
...
204186
---tty-stream-chunk-separator
205-
# traces-in-t-throws › throws
206-
not ok 19 - traces-in-t-throws › throws
187+
not ok 19 - traces-in-t-throws › throws
207188
---
208189
name: AssertionError
209190
assertion: throws
@@ -222,8 +203,7 @@ not ok 19 - traces-in-t-throws › throws
222203
t (test-tap/fixture/report/regular/traces-in-t-throws.js:12:4)
223204
...
224205
---tty-stream-chunk-separator
225-
# traces-in-t-throws › notThrows
226-
not ok 20 - traces-in-t-throws › notThrows
206+
not ok 20 - traces-in-t-throws › notThrows
227207
---
228208
name: AssertionError
229209
assertion: notThrows
@@ -241,8 +221,7 @@ not ok 20 - traces-in-t-throws › notThrows
241221
t (test-tap/fixture/report/regular/traces-in-t-throws.js:16:4)
242222
...
243223
---tty-stream-chunk-separator
244-
# traces-in-t-throws › notThrowsAsync
245-
not ok 21 - traces-in-t-throws › notThrowsAsync
224+
not ok 21 - traces-in-t-throws › notThrowsAsync
246225
---
247226
name: AssertionError
248227
assertion: notThrowsAsync
@@ -257,8 +236,7 @@ not ok 21 - traces-in-t-throws › notThrowsAsync
257236
t (test-tap/fixture/report/regular/traces-in-t-throws.js:20:4)
258237
...
259238
---tty-stream-chunk-separator
260-
# traces-in-t-throws › throwsAsync
261-
not ok 22 - traces-in-t-throws › throwsAsync
239+
not ok 22 - traces-in-t-throws › throwsAsync
262240
---
263241
name: AssertionError
264242
assertion: throwsAsync
@@ -273,8 +251,7 @@ not ok 22 - traces-in-t-throws › throwsAsync
273251
t (test-tap/fixture/report/regular/traces-in-t-throws.js:24:4)
274252
...
275253
---tty-stream-chunk-separator
276-
# traces-in-t-throws › throwsAsync different error
277-
not ok 23 - traces-in-t-throws › throwsAsync different error
254+
not ok 23 - traces-in-t-throws › throwsAsync different error
278255
---
279256
name: AssertionError
280257
assertion: throwsAsync
@@ -291,10 +268,8 @@ not ok 23 - traces-in-t-throws › throwsAsync different erro
291268
t (test-tap/fixture/report/regular/traces-in-t-throws.js:28:11)
292269
...
293270
---tty-stream-chunk-separator
294-
# uncaught-exception › passes
295-
ok 24 - uncaught-exception › passes
271+
ok 24 - uncaught-exception › passes
296272
---tty-stream-chunk-separator
297-
# Error: Can’t catch me
298273
not ok 25 - Error: Can’t catch me
299274
---
300275
name: Error
@@ -304,24 +279,19 @@ not ok 25 - Error: Can’t catch me
304279
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)
305280
...
306281
---tty-stream-chunk-separator
307-
# uncaught-exception.js exited with a non-zero exit code: 1
308282
not ok 26 - uncaught-exception.js exited with a non-zero exit code: 1
309283
---tty-stream-chunk-separator
310-
# unhandled-rejection › passes
311-
ok 27 - unhandled-rejection › passes
284+
ok 27 - unhandled-rejection › passes
312285
---tty-stream-chunk-separator
313-
# unhandled-rejection › unhandled non-error rejection
314-
ok 28 - unhandled-rejection › unhandled non-error rejection
286+
ok 28 - unhandled-rejection › unhandled non-error rejection
315287
---tty-stream-chunk-separator
316-
# Error: Can’t catch me
317288
not ok 29 - Error: Can’t catch me
318289
---
319290
name: Error
320291
message: Can’t catch me
321292
at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.js:4:17)'
322293
...
323294
---tty-stream-chunk-separator
324-
# unhandled-rejection
325295
not ok 30 - unhandled-rejection
326296
---
327297
message: Non-error object

‎test-tap/reporters/tap.regular.v12.log

+33-63
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# TypeError: test.serial.test is not a function
43
not ok 1 - TypeError: test.serial.test is not a function
54
---
65
name: TypeError
76
message: test.serial.test is not a function
87
at: 'Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.js:3:13)'
98
...
109
---tty-stream-chunk-separator
11-
# bad-test-chain.js exited with a non-zero exit code: 1
1210
not ok 2 - bad-test-chain.js exited with a non-zero exit code: 1
1311
---tty-stream-chunk-separator
14-
# nested-objects › format with max depth 4
15-
not ok 3 - nested-objects › format with max depth 4
12+
not ok 3 - nested-objects › format with max depth 4
1613
---
1714
name: AssertionError
1815
assertion: deepEqual
@@ -35,8 +32,7 @@ not ok 3 - nested-objects › format with max depth 4
3532
at: 'test-tap/fixture/report/regular/nested-objects.js:28:4'
3633
...
3734
---tty-stream-chunk-separator
38-
# nested-objects › format like with max depth 4
39-
not ok 4 - nested-objects › format like with max depth 4
35+
not ok 4 - nested-objects › format like with max depth 4
4036
---
4137
name: AssertionError
4238
assertion: like
@@ -57,21 +53,19 @@ not ok 4 - nested-objects › format like with max depth 4
5753
---tty-stream-chunk-separator
5854
# output-in-hook › before hook
5955
---tty-stream-chunk-separator
60-
# before
56+
# before
6157
---tty-stream-chunk-separator
6258
# output-in-hook › beforeEach hook for passing test
6359
---tty-stream-chunk-separator
64-
# beforeEach
60+
# beforeEach
6561
---tty-stream-chunk-separator
6662
# output-in-hook › beforeEach hook for failing test
6763
---tty-stream-chunk-separator
68-
# beforeEach
64+
# beforeEach
6965
---tty-stream-chunk-separator
70-
# output-in-hook › passing test
71-
ok 5 - output-in-hook › passing test
66+
ok 5 - output-in-hook › passing test
7267
---tty-stream-chunk-separator
73-
# output-in-hook › failing test
74-
not ok 6 - output-in-hook › failing test
68+
not ok 6 - output-in-hook › failing test
7569
---
7670
name: AssertionError
7771
message: Test failed via `t.fail()`
@@ -81,43 +75,37 @@ not ok 6 - output-in-hook › failing test
8175
---tty-stream-chunk-separator
8276
# output-in-hook › afterEach hook for passing test
8377
---tty-stream-chunk-separator
84-
# afterEach
78+
# afterEach
8579
---tty-stream-chunk-separator
8680
# output-in-hook › afterEach.always hook for failing test
8781
---tty-stream-chunk-separator
88-
# afterEachAlways
82+
# afterEachAlways
8983
---tty-stream-chunk-separator
9084
# output-in-hook › afterEach.always hook for passing test
9185
---tty-stream-chunk-separator
92-
# afterEachAlways
86+
# afterEachAlways
9387
---tty-stream-chunk-separator
9488
# output-in-hook › cleanup
9589
---tty-stream-chunk-separator
96-
# afterAlways
90+
# afterAlways
9791
---tty-stream-chunk-separator
98-
# test › skip
99-
ok 7 - test › skip # SKIP
92+
ok 7 - test › skip # SKIP
10093
---tty-stream-chunk-separator
101-
# test › todo
102-
not ok 8 - test › todo # TODO
94+
not ok 8 - test › todo # TODO
10395
---tty-stream-chunk-separator
104-
# test › passes
105-
ok 9 - test › passes
96+
ok 9 - test › passes
10697
---tty-stream-chunk-separator
107-
# test › fails
108-
not ok 10 - test › fails
98+
not ok 10 - test › fails
10999
---
110100
name: AssertionError
111101
message: Test failed via `t.fail()`
112102
assertion: fail
113103
at: 'test-tap/fixture/report/regular/test.js:9:22'
114104
...
115105
---tty-stream-chunk-separator
116-
# test › known failure
117-
ok 11 - test › known failure
106+
ok 11 - test › known failure
118107
---tty-stream-chunk-separator
119-
# test › no longer failing
120-
not ok 12 - test › no longer failing
108+
not ok 12 - test › no longer failing
121109
---
122110
name: Error
123111
message: >-
@@ -126,19 +114,17 @@ not ok 12 - test › no longer failing
126114
at: ''
127115
...
128116
---tty-stream-chunk-separator
129-
# test › logs
130-
not ok 13 - test › logs
131-
* hello
132-
* world
117+
not ok 13 - test › logs
118+
# hello
119+
# world
133120
---
134121
name: AssertionError
135122
message: Test failed via `t.fail()`
136123
assertion: fail
137124
at: 'test-tap/fixture/report/regular/test.js:18:4'
138125
...
139126
---tty-stream-chunk-separator
140-
# test › formatted
141-
not ok 14 - test › formatted
127+
not ok 14 - test › formatted
142128
---
143129
name: AssertionError
144130
assertion: deepEqual
@@ -149,8 +135,7 @@ not ok 14 - test › formatted
149135
at: 'test-tap/fixture/report/regular/test.js:22:4'
150136
...
151137
---tty-stream-chunk-separator
152-
# test › power-assert
153-
not ok 15 - test › power-assert
138+
not ok 15 - test › power-assert
154139
---
155140
name: AssertionError
156141
assertion: assert
@@ -160,8 +145,7 @@ not ok 15 - test › power-assert
160145
at: 'test-tap/fixture/report/regular/test.js:27:4'
161146
...
162147
---tty-stream-chunk-separator
163-
# test › bad throws
164-
not ok 16 - test › bad throws
148+
not ok 16 - test › bad throws
165149
---
166150
name: AssertionError
167151
message: Improper usage of `t.throws()` detected
@@ -176,8 +160,7 @@ not ok 16 - test › bad throws
176160
test-tap/fixture/report/regular/test.js:35:11
177161
...
178162
---tty-stream-chunk-separator
179-
# test › bad notThrows
180-
not ok 17 - test › bad notThrows
163+
not ok 17 - test › bad notThrows
181164
---
182165
name: AssertionError
183166
message: Improper usage of `t.notThrows()` detected
@@ -192,8 +175,7 @@ not ok 17 - test › bad notThrows
192175
test-tap/fixture/report/regular/test.js:43:14
193176
...
194177
---tty-stream-chunk-separator
195-
# test › implementation throws non-error
196-
not ok 18 - test › implementation throws non-error
178+
not ok 18 - test › implementation throws non-error
197179
---
198180
name: AssertionError
199181
message: Error thrown in test
@@ -202,8 +184,7 @@ not ok 18 - test › implementation throws non-error
202184
at: ''
203185
...
204186
---tty-stream-chunk-separator
205-
# traces-in-t-throws › throws
206-
not ok 19 - traces-in-t-throws › throws
187+
not ok 19 - traces-in-t-throws › throws
207188
---
208189
name: AssertionError
209190
assertion: throws
@@ -219,8 +200,7 @@ not ok 19 - traces-in-t-throws › throws
219200
test-tap/fixture/report/regular/traces-in-t-throws.js:12:4
220201
...
221202
---tty-stream-chunk-separator
222-
# traces-in-t-throws › notThrows
223-
not ok 20 - traces-in-t-throws › notThrows
203+
not ok 20 - traces-in-t-throws › notThrows
224204
---
225205
name: AssertionError
226206
assertion: notThrows
@@ -235,8 +215,7 @@ not ok 20 - traces-in-t-throws › notThrows
235215
test-tap/fixture/report/regular/traces-in-t-throws.js:16:4
236216
...
237217
---tty-stream-chunk-separator
238-
# traces-in-t-throws › notThrowsAsync
239-
not ok 21 - traces-in-t-throws › notThrowsAsync
218+
not ok 21 - traces-in-t-throws › notThrowsAsync
240219
---
241220
name: AssertionError
242221
assertion: notThrowsAsync
@@ -251,8 +230,7 @@ not ok 21 - traces-in-t-throws › notThrowsAsync
251230
test-tap/fixture/report/regular/traces-in-t-throws.js:20:4
252231
...
253232
---tty-stream-chunk-separator
254-
# traces-in-t-throws › throwsAsync
255-
not ok 22 - traces-in-t-throws › throwsAsync
233+
not ok 22 - traces-in-t-throws › throwsAsync
256234
---
257235
name: AssertionError
258236
assertion: throwsAsync
@@ -270,8 +248,7 @@ not ok 22 - traces-in-t-throws › throwsAsync
270248
test-tap/fixture/report/regular/traces-in-t-throws.js:24:4
271249
...
272250
---tty-stream-chunk-separator
273-
# traces-in-t-throws › throwsAsync different error
274-
not ok 23 - traces-in-t-throws › throwsAsync different error
251+
not ok 23 - traces-in-t-throws › throwsAsync different error
275252
---
276253
name: AssertionError
277254
assertion: throwsAsync
@@ -288,10 +265,8 @@ not ok 23 - traces-in-t-throws › throwsAsync different erro
288265
test-tap/fixture/report/regular/traces-in-t-throws.js:28:11
289266
...
290267
---tty-stream-chunk-separator
291-
# uncaught-exception › passes
292-
ok 24 - uncaught-exception › passes
268+
ok 24 - uncaught-exception › passes
293269
---tty-stream-chunk-separator
294-
# Error: Can’t catch me
295270
not ok 25 - Error: Can’t catch me
296271
---
297272
name: Error
@@ -301,24 +276,19 @@ not ok 25 - Error: Can’t catch me
301276
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)
302277
...
303278
---tty-stream-chunk-separator
304-
# uncaught-exception.js exited with a non-zero exit code: 1
305279
not ok 26 - uncaught-exception.js exited with a non-zero exit code: 1
306280
---tty-stream-chunk-separator
307-
# unhandled-rejection › passes
308-
ok 27 - unhandled-rejection › passes
281+
ok 27 - unhandled-rejection › passes
309282
---tty-stream-chunk-separator
310-
# unhandled-rejection › unhandled non-error rejection
311-
ok 28 - unhandled-rejection › unhandled non-error rejection
283+
ok 28 - unhandled-rejection › unhandled non-error rejection
312284
---tty-stream-chunk-separator
313-
# Error: Can’t catch me
314285
not ok 29 - Error: Can’t catch me
315286
---
316287
name: Error
317288
message: Can’t catch me
318289
at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.js:4:17)'
319290
...
320291
---tty-stream-chunk-separator
321-
# unhandled-rejection
322292
not ok 30 - unhandled-rejection
323293
---
324294
message: Non-error object

‎test-tap/reporters/tap.regular.v14.log

+33-63
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# TypeError: test.serial.test is not a function
43
not ok 1 - TypeError: test.serial.test is not a function
54
---
65
name: TypeError
76
message: test.serial.test is not a function
87
at: 'Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.js:3:13)'
98
...
109
---tty-stream-chunk-separator
11-
# bad-test-chain.js exited with a non-zero exit code: 1
1210
not ok 2 - bad-test-chain.js exited with a non-zero exit code: 1
1311
---tty-stream-chunk-separator
14-
# nested-objects › format with max depth 4
15-
not ok 3 - nested-objects › format with max depth 4
12+
not ok 3 - nested-objects › format with max depth 4
1613
---
1714
name: AssertionError
1815
assertion: deepEqual
@@ -35,8 +32,7 @@ not ok 3 - nested-objects › format with max depth 4
3532
at: 'test-tap/fixture/report/regular/nested-objects.js:28:4'
3633
...
3734
---tty-stream-chunk-separator
38-
# nested-objects › format like with max depth 4
39-
not ok 4 - nested-objects › format like with max depth 4
35+
not ok 4 - nested-objects › format like with max depth 4
4036
---
4137
name: AssertionError
4238
assertion: like
@@ -57,21 +53,19 @@ not ok 4 - nested-objects › format like with max depth 4
5753
---tty-stream-chunk-separator
5854
# output-in-hook › before hook
5955
---tty-stream-chunk-separator
60-
# before
56+
# before
6157
---tty-stream-chunk-separator
6258
# output-in-hook › beforeEach hook for passing test
6359
---tty-stream-chunk-separator
64-
# beforeEach
60+
# beforeEach
6561
---tty-stream-chunk-separator
6662
# output-in-hook › beforeEach hook for failing test
6763
---tty-stream-chunk-separator
68-
# beforeEach
64+
# beforeEach
6965
---tty-stream-chunk-separator
70-
# output-in-hook › passing test
71-
ok 5 - output-in-hook › passing test
66+
ok 5 - output-in-hook › passing test
7267
---tty-stream-chunk-separator
73-
# output-in-hook › failing test
74-
not ok 6 - output-in-hook › failing test
68+
not ok 6 - output-in-hook › failing test
7569
---
7670
name: AssertionError
7771
message: Test failed via `t.fail()`
@@ -81,43 +75,37 @@ not ok 6 - output-in-hook › failing test
8175
---tty-stream-chunk-separator
8276
# output-in-hook › afterEach hook for passing test
8377
---tty-stream-chunk-separator
84-
# afterEach
78+
# afterEach
8579
---tty-stream-chunk-separator
8680
# output-in-hook › afterEach.always hook for failing test
8781
---tty-stream-chunk-separator
88-
# afterEachAlways
82+
# afterEachAlways
8983
---tty-stream-chunk-separator
9084
# output-in-hook › afterEach.always hook for passing test
9185
---tty-stream-chunk-separator
92-
# afterEachAlways
86+
# afterEachAlways
9387
---tty-stream-chunk-separator
9488
# output-in-hook › cleanup
9589
---tty-stream-chunk-separator
96-
# afterAlways
90+
# afterAlways
9791
---tty-stream-chunk-separator
98-
# test › skip
99-
ok 7 - test › skip # SKIP
92+
ok 7 - test › skip # SKIP
10093
---tty-stream-chunk-separator
101-
# test › todo
102-
not ok 8 - test › todo # TODO
94+
not ok 8 - test › todo # TODO
10395
---tty-stream-chunk-separator
104-
# test › passes
105-
ok 9 - test › passes
96+
ok 9 - test › passes
10697
---tty-stream-chunk-separator
107-
# test › fails
108-
not ok 10 - test › fails
98+
not ok 10 - test › fails
10999
---
110100
name: AssertionError
111101
message: Test failed via `t.fail()`
112102
assertion: fail
113103
at: 'test-tap/fixture/report/regular/test.js:9:22'
114104
...
115105
---tty-stream-chunk-separator
116-
# test › known failure
117-
ok 11 - test › known failure
106+
ok 11 - test › known failure
118107
---tty-stream-chunk-separator
119-
# test › no longer failing
120-
not ok 12 - test › no longer failing
108+
not ok 12 - test › no longer failing
121109
---
122110
name: Error
123111
message: >-
@@ -126,19 +114,17 @@ not ok 12 - test › no longer failing
126114
at: ''
127115
...
128116
---tty-stream-chunk-separator
129-
# test › logs
130-
not ok 13 - test › logs
131-
* hello
132-
* world
117+
not ok 13 - test › logs
118+
# hello
119+
# world
133120
---
134121
name: AssertionError
135122
message: Test failed via `t.fail()`
136123
assertion: fail
137124
at: 'test-tap/fixture/report/regular/test.js:18:4'
138125
...
139126
---tty-stream-chunk-separator
140-
# test › formatted
141-
not ok 14 - test › formatted
127+
not ok 14 - test › formatted
142128
---
143129
name: AssertionError
144130
assertion: deepEqual
@@ -149,8 +135,7 @@ not ok 14 - test › formatted
149135
at: 'test-tap/fixture/report/regular/test.js:22:4'
150136
...
151137
---tty-stream-chunk-separator
152-
# test › power-assert
153-
not ok 15 - test › power-assert
138+
not ok 15 - test › power-assert
154139
---
155140
name: AssertionError
156141
assertion: assert
@@ -160,8 +145,7 @@ not ok 15 - test › power-assert
160145
at: 'test-tap/fixture/report/regular/test.js:27:4'
161146
...
162147
---tty-stream-chunk-separator
163-
# test › bad throws
164-
not ok 16 - test › bad throws
148+
not ok 16 - test › bad throws
165149
---
166150
name: AssertionError
167151
message: Improper usage of `t.throws()` detected
@@ -176,8 +160,7 @@ not ok 16 - test › bad throws
176160
test-tap/fixture/report/regular/test.js:35:11
177161
...
178162
---tty-stream-chunk-separator
179-
# test › bad notThrows
180-
not ok 17 - test › bad notThrows
163+
not ok 17 - test › bad notThrows
181164
---
182165
name: AssertionError
183166
message: Improper usage of `t.notThrows()` detected
@@ -192,8 +175,7 @@ not ok 17 - test › bad notThrows
192175
test-tap/fixture/report/regular/test.js:43:14
193176
...
194177
---tty-stream-chunk-separator
195-
# test › implementation throws non-error
196-
not ok 18 - test › implementation throws non-error
178+
not ok 18 - test › implementation throws non-error
197179
---
198180
name: AssertionError
199181
message: Error thrown in test
@@ -202,8 +184,7 @@ not ok 18 - test › implementation throws non-error
202184
at: ''
203185
...
204186
---tty-stream-chunk-separator
205-
# traces-in-t-throws › throws
206-
not ok 19 - traces-in-t-throws › throws
187+
not ok 19 - traces-in-t-throws › throws
207188
---
208189
name: AssertionError
209190
assertion: throws
@@ -219,8 +200,7 @@ not ok 19 - traces-in-t-throws › throws
219200
test-tap/fixture/report/regular/traces-in-t-throws.js:12:4
220201
...
221202
---tty-stream-chunk-separator
222-
# traces-in-t-throws › notThrows
223-
not ok 20 - traces-in-t-throws › notThrows
203+
not ok 20 - traces-in-t-throws › notThrows
224204
---
225205
name: AssertionError
226206
assertion: notThrows
@@ -235,8 +215,7 @@ not ok 20 - traces-in-t-throws › notThrows
235215
test-tap/fixture/report/regular/traces-in-t-throws.js:16:4
236216
...
237217
---tty-stream-chunk-separator
238-
# traces-in-t-throws › notThrowsAsync
239-
not ok 21 - traces-in-t-throws › notThrowsAsync
218+
not ok 21 - traces-in-t-throws › notThrowsAsync
240219
---
241220
name: AssertionError
242221
assertion: notThrowsAsync
@@ -251,8 +230,7 @@ not ok 21 - traces-in-t-throws › notThrowsAsync
251230
test-tap/fixture/report/regular/traces-in-t-throws.js:20:4
252231
...
253232
---tty-stream-chunk-separator
254-
# traces-in-t-throws › throwsAsync
255-
not ok 22 - traces-in-t-throws › throwsAsync
233+
not ok 22 - traces-in-t-throws › throwsAsync
256234
---
257235
name: AssertionError
258236
assertion: throwsAsync
@@ -270,8 +248,7 @@ not ok 22 - traces-in-t-throws › throwsAsync
270248
test-tap/fixture/report/regular/traces-in-t-throws.js:24:4
271249
...
272250
---tty-stream-chunk-separator
273-
# traces-in-t-throws › throwsAsync different error
274-
not ok 23 - traces-in-t-throws › throwsAsync different error
251+
not ok 23 - traces-in-t-throws › throwsAsync different error
275252
---
276253
name: AssertionError
277254
assertion: throwsAsync
@@ -288,10 +265,8 @@ not ok 23 - traces-in-t-throws › throwsAsync different erro
288265
test-tap/fixture/report/regular/traces-in-t-throws.js:28:11
289266
...
290267
---tty-stream-chunk-separator
291-
# uncaught-exception › passes
292-
ok 24 - uncaught-exception › passes
268+
ok 24 - uncaught-exception › passes
293269
---tty-stream-chunk-separator
294-
# Error: Can’t catch me
295270
not ok 25 - Error: Can’t catch me
296271
---
297272
name: Error
@@ -301,24 +276,19 @@ not ok 25 - Error: Can’t catch me
301276
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)
302277
...
303278
---tty-stream-chunk-separator
304-
# uncaught-exception.js exited with a non-zero exit code: 1
305279
not ok 26 - uncaught-exception.js exited with a non-zero exit code: 1
306280
---tty-stream-chunk-separator
307-
# unhandled-rejection › passes
308-
ok 27 - unhandled-rejection › passes
281+
ok 27 - unhandled-rejection › passes
309282
---tty-stream-chunk-separator
310-
# unhandled-rejection › unhandled non-error rejection
311-
ok 28 - unhandled-rejection › unhandled non-error rejection
283+
ok 28 - unhandled-rejection › unhandled non-error rejection
312284
---tty-stream-chunk-separator
313-
# Error: Can’t catch me
314285
not ok 29 - Error: Can’t catch me
315286
---
316287
name: Error
317288
message: Can’t catch me
318289
at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.js:4:17)'
319290
...
320291
---tty-stream-chunk-separator
321-
# unhandled-rejection
322292
not ok 30 - unhandled-rejection
323293
---
324294
message: Non-error object

‎test-tap/reporters/tap.regular.v15.log

+33-63
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
# TypeError: test.serial.test is not a function
43
not ok 1 - TypeError: test.serial.test is not a function
54
---
65
name: TypeError
76
message: test.serial.test is not a function
87
at: 'Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.js:3:13)'
98
...
109
---tty-stream-chunk-separator
11-
# bad-test-chain.js exited with a non-zero exit code: 1
1210
not ok 2 - bad-test-chain.js exited with a non-zero exit code: 1
1311
---tty-stream-chunk-separator
14-
# nested-objects › format with max depth 4
15-
not ok 3 - nested-objects › format with max depth 4
12+
not ok 3 - nested-objects › format with max depth 4
1613
---
1714
name: AssertionError
1815
assertion: deepEqual
@@ -35,8 +32,7 @@ not ok 3 - nested-objects › format with max depth 4
3532
at: 'test-tap/fixture/report/regular/nested-objects.js:28:4'
3633
...
3734
---tty-stream-chunk-separator
38-
# nested-objects › format like with max depth 4
39-
not ok 4 - nested-objects › format like with max depth 4
35+
not ok 4 - nested-objects › format like with max depth 4
4036
---
4137
name: AssertionError
4238
assertion: like
@@ -57,21 +53,19 @@ not ok 4 - nested-objects › format like with max depth 4
5753
---tty-stream-chunk-separator
5854
# output-in-hook › before hook
5955
---tty-stream-chunk-separator
60-
# before
56+
# before
6157
---tty-stream-chunk-separator
6258
# output-in-hook › beforeEach hook for passing test
6359
---tty-stream-chunk-separator
64-
# beforeEach
60+
# beforeEach
6561
---tty-stream-chunk-separator
6662
# output-in-hook › beforeEach hook for failing test
6763
---tty-stream-chunk-separator
68-
# beforeEach
64+
# beforeEach
6965
---tty-stream-chunk-separator
70-
# output-in-hook › passing test
71-
ok 5 - output-in-hook › passing test
66+
ok 5 - output-in-hook › passing test
7267
---tty-stream-chunk-separator
73-
# output-in-hook › failing test
74-
not ok 6 - output-in-hook › failing test
68+
not ok 6 - output-in-hook › failing test
7569
---
7670
name: AssertionError
7771
message: Test failed via `t.fail()`
@@ -81,43 +75,37 @@ not ok 6 - output-in-hook › failing test
8175
---tty-stream-chunk-separator
8276
# output-in-hook › afterEach hook for passing test
8377
---tty-stream-chunk-separator
84-
# afterEach
78+
# afterEach
8579
---tty-stream-chunk-separator
8680
# output-in-hook › afterEach.always hook for failing test
8781
---tty-stream-chunk-separator
88-
# afterEachAlways
82+
# afterEachAlways
8983
---tty-stream-chunk-separator
9084
# output-in-hook › afterEach.always hook for passing test
9185
---tty-stream-chunk-separator
92-
# afterEachAlways
86+
# afterEachAlways
9387
---tty-stream-chunk-separator
9488
# output-in-hook › cleanup
9589
---tty-stream-chunk-separator
96-
# afterAlways
90+
# afterAlways
9791
---tty-stream-chunk-separator
98-
# test › skip
99-
ok 7 - test › skip # SKIP
92+
ok 7 - test › skip # SKIP
10093
---tty-stream-chunk-separator
101-
# test › todo
102-
not ok 8 - test › todo # TODO
94+
not ok 8 - test › todo # TODO
10395
---tty-stream-chunk-separator
104-
# test › passes
105-
ok 9 - test › passes
96+
ok 9 - test › passes
10697
---tty-stream-chunk-separator
107-
# test › fails
108-
not ok 10 - test › fails
98+
not ok 10 - test › fails
10999
---
110100
name: AssertionError
111101
message: Test failed via `t.fail()`
112102
assertion: fail
113103
at: 'test-tap/fixture/report/regular/test.js:9:22'
114104
...
115105
---tty-stream-chunk-separator
116-
# test › known failure
117-
ok 11 - test › known failure
106+
ok 11 - test › known failure
118107
---tty-stream-chunk-separator
119-
# test › no longer failing
120-
not ok 12 - test › no longer failing
108+
not ok 12 - test › no longer failing
121109
---
122110
name: Error
123111
message: >-
@@ -126,19 +114,17 @@ not ok 12 - test › no longer failing
126114
at: ''
127115
...
128116
---tty-stream-chunk-separator
129-
# test › logs
130-
not ok 13 - test › logs
131-
* hello
132-
* world
117+
not ok 13 - test › logs
118+
# hello
119+
# world
133120
---
134121
name: AssertionError
135122
message: Test failed via `t.fail()`
136123
assertion: fail
137124
at: 'test-tap/fixture/report/regular/test.js:18:4'
138125
...
139126
---tty-stream-chunk-separator
140-
# test › formatted
141-
not ok 14 - test › formatted
127+
not ok 14 - test › formatted
142128
---
143129
name: AssertionError
144130
assertion: deepEqual
@@ -149,8 +135,7 @@ not ok 14 - test › formatted
149135
at: 'test-tap/fixture/report/regular/test.js:22:4'
150136
...
151137
---tty-stream-chunk-separator
152-
# test › power-assert
153-
not ok 15 - test › power-assert
138+
not ok 15 - test › power-assert
154139
---
155140
name: AssertionError
156141
assertion: assert
@@ -160,8 +145,7 @@ not ok 15 - test › power-assert
160145
at: 'test-tap/fixture/report/regular/test.js:27:4'
161146
...
162147
---tty-stream-chunk-separator
163-
# test › bad throws
164-
not ok 16 - test › bad throws
148+
not ok 16 - test › bad throws
165149
---
166150
name: AssertionError
167151
message: Improper usage of `t.throws()` detected
@@ -176,8 +160,7 @@ not ok 16 - test › bad throws
176160
test-tap/fixture/report/regular/test.js:35:11
177161
...
178162
---tty-stream-chunk-separator
179-
# test › bad notThrows
180-
not ok 17 - test › bad notThrows
163+
not ok 17 - test › bad notThrows
181164
---
182165
name: AssertionError
183166
message: Improper usage of `t.notThrows()` detected
@@ -192,8 +175,7 @@ not ok 17 - test › bad notThrows
192175
test-tap/fixture/report/regular/test.js:43:14
193176
...
194177
---tty-stream-chunk-separator
195-
# test › implementation throws non-error
196-
not ok 18 - test › implementation throws non-error
178+
not ok 18 - test › implementation throws non-error
197179
---
198180
name: AssertionError
199181
message: Error thrown in test
@@ -202,8 +184,7 @@ not ok 18 - test › implementation throws non-error
202184
at: ''
203185
...
204186
---tty-stream-chunk-separator
205-
# traces-in-t-throws › throws
206-
not ok 19 - traces-in-t-throws › throws
187+
not ok 19 - traces-in-t-throws › throws
207188
---
208189
name: AssertionError
209190
assertion: throws
@@ -219,8 +200,7 @@ not ok 19 - traces-in-t-throws › throws
219200
test-tap/fixture/report/regular/traces-in-t-throws.js:12:4
220201
...
221202
---tty-stream-chunk-separator
222-
# traces-in-t-throws › notThrows
223-
not ok 20 - traces-in-t-throws › notThrows
203+
not ok 20 - traces-in-t-throws › notThrows
224204
---
225205
name: AssertionError
226206
assertion: notThrows
@@ -235,8 +215,7 @@ not ok 20 - traces-in-t-throws › notThrows
235215
test-tap/fixture/report/regular/traces-in-t-throws.js:16:4
236216
...
237217
---tty-stream-chunk-separator
238-
# traces-in-t-throws › notThrowsAsync
239-
not ok 21 - traces-in-t-throws › notThrowsAsync
218+
not ok 21 - traces-in-t-throws › notThrowsAsync
240219
---
241220
name: AssertionError
242221
assertion: notThrowsAsync
@@ -251,8 +230,7 @@ not ok 21 - traces-in-t-throws › notThrowsAsync
251230
test-tap/fixture/report/regular/traces-in-t-throws.js:20:4
252231
...
253232
---tty-stream-chunk-separator
254-
# traces-in-t-throws › throwsAsync
255-
not ok 22 - traces-in-t-throws › throwsAsync
233+
not ok 22 - traces-in-t-throws › throwsAsync
256234
---
257235
name: AssertionError
258236
assertion: throwsAsync
@@ -270,8 +248,7 @@ not ok 22 - traces-in-t-throws › throwsAsync
270248
test-tap/fixture/report/regular/traces-in-t-throws.js:24:4
271249
...
272250
---tty-stream-chunk-separator
273-
# traces-in-t-throws › throwsAsync different error
274-
not ok 23 - traces-in-t-throws › throwsAsync different error
251+
not ok 23 - traces-in-t-throws › throwsAsync different error
275252
---
276253
name: AssertionError
277254
assertion: throwsAsync
@@ -288,10 +265,8 @@ not ok 23 - traces-in-t-throws › throwsAsync different erro
288265
test-tap/fixture/report/regular/traces-in-t-throws.js:28:11
289266
...
290267
---tty-stream-chunk-separator
291-
# uncaught-exception › passes
292-
ok 24 - uncaught-exception › passes
268+
ok 24 - uncaught-exception › passes
293269
---tty-stream-chunk-separator
294-
# Error: Can’t catch me
295270
not ok 25 - Error: Can’t catch me
296271
---
297272
name: Error
@@ -301,24 +276,19 @@ not ok 25 - Error: Can’t catch me
301276
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)
302277
...
303278
---tty-stream-chunk-separator
304-
# uncaught-exception.js exited with a non-zero exit code: 1
305279
not ok 26 - uncaught-exception.js exited with a non-zero exit code: 1
306280
---tty-stream-chunk-separator
307-
# unhandled-rejection › passes
308-
ok 27 - unhandled-rejection › passes
281+
ok 27 - unhandled-rejection › passes
309282
---tty-stream-chunk-separator
310-
# unhandled-rejection › unhandled non-error rejection
311-
ok 28 - unhandled-rejection › unhandled non-error rejection
283+
ok 28 - unhandled-rejection › unhandled non-error rejection
312284
---tty-stream-chunk-separator
313-
# Error: Can’t catch me
314285
not ok 29 - Error: Can’t catch me
315286
---
316287
name: Error
317288
message: Can’t catch me
318289
at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.js:4:17)'
319290
...
320291
---tty-stream-chunk-separator
321-
# unhandled-rejection
322292
not ok 30 - unhandled-rejection
323293
---
324294
message: Non-error object

0 commit comments

Comments
 (0)
Please sign in to comment.