/
default.regular.v17.log
357 lines (240 loc) · 11.8 KB
/
default.regular.v17.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
---tty-stream-chunk-separator
[1mUncaught exception in bad-test-chain.cjs[22m
[90mbad-test-chain.cjs:3[39m
[90m2:[39m
[41m 3: test.serial.test('passes', t => t.pass());[49m
[90m4:[39m
TypeError: test.serial.test is not a function
[90m› Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)[39m
---tty-stream-chunk-separator
[31m✖ bad-test-chain.cjs exited with a non-zero exit code: 1[39m
---tty-stream-chunk-separator
[31m✖[39m nested-objects [90m[2m›[22m[39m format with max depth 4
---tty-stream-chunk-separator
[31m✖[39m nested-objects [90m[2m›[22m[39m format like with max depth 4
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m before hook
[35mℹ[39m [90mbefore[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m beforeEach hook for passing test
[35mℹ[39m [90mbeforeEach[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m beforeEach hook for failing test
[35mℹ[39m [90mbeforeEach[39m
---tty-stream-chunk-separator
[32m✔[39m output-in-hook [90m[2m›[22m[39m passing test
---tty-stream-chunk-separator
[31m✖[39m output-in-hook [90m[2m›[22m[39m failing test [31mTest failed via `t.fail()`[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m afterEach hook for passing test
[35mℹ[39m [90mafterEach[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m afterEach.always hook for failing test
[35mℹ[39m [90mafterEachAlways[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m afterEach.always hook for passing test
[35mℹ[39m [90mafterEachAlways[39m
---tty-stream-chunk-separator
output-in-hook [90m[2m›[22m[39m cleanup
[35mℹ[39m [90mafterAlways[39m
---tty-stream-chunk-separator
[33m- test [90m[2m›[22m[39m[33m skip[39m
---tty-stream-chunk-separator
[34m- test [90m[2m›[22m[39m[34m todo[39m
---tty-stream-chunk-separator
[32m✔[39m test [90m[2m›[22m[39m passes
---tty-stream-chunk-separator
[31m✖[39m test [90m[2m›[22m[39m fails [31mTest failed via `t.fail()`[39m
---tty-stream-chunk-separator
[31m✔[39m [31mtest [90m[2m›[22m[39m[31m known failure[39m
---tty-stream-chunk-separator
[31m✖[39m test [90m[2m›[22m[39m no longer failing [31mTest was expected to fail, but succeeded, you should stop marking the test as failing[39m
---tty-stream-chunk-separator
[31m✖[39m test [90m[2m›[22m[39m logs [31mTest failed via `t.fail()`[39m
[35mℹ[39m [90mhello[39m
[35mℹ[39m [90mworld[39m
---tty-stream-chunk-separator
[31m✖[39m test [90m[2m›[22m[39m formatted
---tty-stream-chunk-separator
[31m✖[39m test [90m[2m›[22m[39m implementation throws non-error [31mError thrown in test[39m
---tty-stream-chunk-separator
[31m✖[39m traces-in-t-throws [90m[2m›[22m[39m throws
---tty-stream-chunk-separator
[31m✖[39m traces-in-t-throws [90m[2m›[22m[39m notThrows
---tty-stream-chunk-separator
[31m✖[39m traces-in-t-throws [90m[2m›[22m[39m notThrowsAsync
---tty-stream-chunk-separator
[31m✖[39m traces-in-t-throws [90m[2m›[22m[39m throwsAsync
---tty-stream-chunk-separator
[31m✖[39m traces-in-t-throws [90m[2m›[22m[39m throwsAsync different error
---tty-stream-chunk-separator
[32m✔[39m uncaught-exception [90m[2m›[22m[39m passes
---tty-stream-chunk-separator
[1mUncaught exception in uncaught-exception.cjs[22m
[90muncaught-exception.cjs:5[39m
[90m4:[39m setImmediate(() => {
[41m 5: throw new Error('Can’t catch me');[49m
[90m6:[39m });
Error: Can’t catch me
[90m› Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.cjs:5:9)[39m
---tty-stream-chunk-separator
[31m✖ uncaught-exception.cjs exited with a non-zero exit code: 1[39m
---tty-stream-chunk-separator
[32m✔[39m unhandled-rejection [90m[2m›[22m[39m passes
---tty-stream-chunk-separator
[32m✔[39m unhandled-rejection [90m[2m›[22m[39m unhandled non-error rejection
---tty-stream-chunk-separator
[1mUnhandled rejection in unhandled-rejection.cjs[22m
[90munhandled-rejection.cjs:4[39m
[90m3:[39m const passes = t => {
[41m 4: Promise.reject(new Error('Can’t catch me'));[49m
[90m5:[39m t.pass();
Error: Can’t catch me
[90m› passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)[39m
---tty-stream-chunk-separator
[1mUnhandled rejection in unhandled-rejection.cjs[22m
[33mnull[39m
---tty-stream-chunk-separator
[90m─[39m
[1mnested-objects [90m[2m›[22m[1m[39m format with max depth 4[22m
[90mnested-objects.cjs:29[39m
[90m28:[39m };
[41m 29: t.deepEqual(exp, act);[49m
[90m30:[39m });
Difference:
[90m{[39m
a: [90m{[39m
b: [90m{[39m
foo: [34m'[39m[34mbar[39m[34m'[39m[90m,[39m
[90m}[39m[90m,[39m
[90m}[39m[90m,[39m
[32m+[39m c: [90m{[39m
[32m+[39m d: [90m{[39m
[32m+[39m e: [90m{[39m
[32m+[39m foo: [34m'[39m[34mbar[39m[34m'[39m[90m,[39m
[32m+[39m [90m}[39m[90m,[39m
[32m+[39m [90m}[39m[90m,[39m
[32m+[39m [90m}[39m[90m,[39m
[90m}[39m
[90m› test-tap/fixture/report/regular/nested-objects.cjs:29:4[39m
[1mnested-objects [90m[2m›[22m[1m[39m format like with max depth 4[22m
[90mnested-objects.cjs:55[39m
[90m54:[39m };
[41m 55: t.like(actual, pattern);[49m
[90m56:[39m });
Difference:
[90m{[39m
a: [90m{[39m
b: [90m{[39m
[31m-[39m foo: [34m'[39m[31mbar[39m[34m'[39m[90m,[39m
[32m+[39m foo: [34m'[39m[32mqux[39m[34m'[39m[90m,[39m
[90m}[39m[90m,[39m
[90m}[39m[90m,[39m
[90m}[39m
[90m› test-tap/fixture/report/regular/nested-objects.cjs:55:4[39m
[1moutput-in-hook [90m[2m›[22m[1m[39m failing test[22m
[90moutput-in-hook.cjs:34[39m
[90m33:[39m test('failing test', t => {
[41m 34: t.fail(); [49m
[90m35:[39m });
Test failed via `t.fail()`
[90m› test-tap/fixture/report/regular/output-in-hook.cjs:34:4[39m
[1mtest [90m[2m›[22m[1m[39m fails[22m
[90mtest.cjs:9[39m
[90m8:[39m
[41m 9: test('fails', t => t.fail());[49m
[90m10:[39m
Test failed via `t.fail()`
[90m› test-tap/fixture/report/regular/test.cjs:9:22[39m
[1mtest [90m[2m›[22m[1m[39m no longer failing[22m
Error: Test was expected to fail, but succeeded, you should stop marking the test as failing
[1mtest [90m[2m›[22m[1m[39m logs[22m
[90mtest.cjs:18[39m
[90m17:[39m t.log('world');
[41m 18: t.fail(); [49m
[90m19:[39m });
Test failed via `t.fail()`
[90m› test-tap/fixture/report/regular/test.cjs:18:4[39m
[1mtest [90m[2m›[22m[1m[39m formatted[22m
[90mtest.cjs:22[39m
[90m21:[39m test('formatted', t => {
[41m 22: t.deepEqual('foo', 'bar');[49m
[90m23:[39m });
Difference:
[31m-[39m [34m'[39m[31mfoo[39m[34m'[39m
[32m+[39m [34m'[39m[32mbar[39m[34m'[39m
[90m› test-tap/fixture/report/regular/test.cjs:22:4[39m
[1mtest [90m[2m›[22m[1m[39m implementation throws non-error[22m
Error thrown in test:
[33mnull[39m
[1mtraces-in-t-throws [90m[2m›[22m[1m[39m throws[22m
[90mtraces-in-t-throws.cjs:12[39m
[90m11:[39m test('throws', t => {
[41m 12: t.throws(() => throwError(), {instanceOf: TypeError});[49m
[90m13:[39m });
Function threw unexpected exception:
[35mError[39m [90m{[39m
message: [34m'[39m[34muh-oh[39m[34m'[39m[90m,[39m
[90m}[39m
Expected instance of:
[35mFunction[39m [34mTypeError[39m [90m{[39m[90m}[39m
[90m› throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)[39m
[90m› t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17)[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4[39m
[1mtraces-in-t-throws [90m[2m›[22m[1m[39m notThrows[22m
[90mtraces-in-t-throws.cjs:16[39m
[90m15:[39m test('notThrows', t => {
[41m 16: t.notThrows(() => throwError());[49m
[90m17:[39m });
Function threw:
[35mError[39m [90m{[39m
message: [34m'[39m[34muh-oh[39m[34m'[39m[90m,[39m
[90m}[39m
[90m› throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4[39m
[1mtraces-in-t-throws [90m[2m›[22m[1m[39m notThrowsAsync[22m
[90mtraces-in-t-throws.cjs:20[39m
[90m19:[39m test('notThrowsAsync', t => {
[41m 20: t.notThrowsAsync(() => throwError());[49m
[90m21:[39m });
Function threw:
[35mError[39m [90m{[39m
message: [34m'[39m[34muh-oh[39m[34m'[39m[90m,[39m
[90m}[39m
[90m› throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4[39m
[1mtraces-in-t-throws [90m[2m›[22m[1m[39m throwsAsync[22m
[90mtraces-in-t-throws.cjs:24[39m
[90m23:[39m test('throwsAsync', t => {
[41m 24: t.throwsAsync(() => throwError(), {instanceOf: TypeError});[49m
[90m25:[39m });
Function threw synchronously. Use `t.throws()` instead:
[35mError[39m [90m{[39m
message: [34m'[39m[34muh-oh[39m[34m'[39m[90m,[39m
[90m}[39m
[90m› throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)[39m
[90m› t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22)[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4[39m
[1mtraces-in-t-throws [90m[2m›[22m[1m[39m throwsAsync different error[22m
[90mtraces-in-t-throws.cjs:27[39m
[90m26:[39m
[41m 27: test('throwsAsync different error', t => t.throwsAsync(returnRejectedPromise, {instanceOf: TypeError}));[49m
[90m28:[39m
Returned promise rejected with unexpected exception:
[35mError[39m [90m{[39m
message: [34m'[39m[34muh-oh[39m[34m'[39m[90m,[39m
[90m}[39m
Expected instance of:
[35mFunction[39m [34mTypeError[39m [90m{[39m[90m}[39m
[90m› returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24)[39m
[90m› test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44[39m
[90m─[39m
[31m13 tests failed[39m
[31m1 known failure[39m
[33m1 test skipped[39m
[34m1 test todo[39m
[31m2 unhandled rejections[39m
[31m2 uncaught exceptions[39m
---tty-stream-chunk-separator