qunitx 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/test-output.log CHANGED
@@ -3,7 +3,7 @@ TAP version 13
3
3
  # Subtest: $ qunitx -> prints help text
4
4
  not ok 1 - $ qunitx -> prints help text
5
5
  ---
6
- duration_ms: 324.513951
6
+ duration_ms: 1189.454842
7
7
  failureType: 'testCodeFailure'
8
8
  error: |-
9
9
  Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js
@@ -31,7 +31,7 @@ TAP version 13
31
31
  # Subtest: $ qunitx print -> prints help text
32
32
  not ok 2 - $ qunitx print -> prints help text
33
33
  ---
34
- duration_ms: 353.983061
34
+ duration_ms: 1189.049467
35
35
  failureType: 'testCodeFailure'
36
36
  error: |-
37
37
  Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js print
@@ -54,12 +54,14 @@ TAP version 13
54
54
  ChildProcess.exithandler (node:child_process:419:12)
55
55
  ChildProcess.emit (node:events:511:28)
56
56
  maybeClose (node:internal/child_process:1098:16)
57
- ChildProcess._handle.onexit (node:internal/child_process:304:5)
57
+ Socket.<anonymous> (node:internal/child_process:456:11)
58
+ Socket.emit (node:events:511:28)
59
+ Pipe.<anonymous> (node:net:334:12)
58
60
  ...
59
61
  # Subtest: $ qunitx p -> prints help text
60
62
  not ok 3 - $ qunitx p -> prints help text
61
63
  ---
62
- duration_ms: 359.464602
64
+ duration_ms: 1221.173565
63
65
  failureType: 'testCodeFailure'
64
66
  error: |-
65
67
  Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js p
@@ -82,12 +84,14 @@ TAP version 13
82
84
  ChildProcess.exithandler (node:child_process:419:12)
83
85
  ChildProcess.emit (node:events:511:28)
84
86
  maybeClose (node:internal/child_process:1098:16)
85
- ChildProcess._handle.onexit (node:internal/child_process:304:5)
87
+ Socket.<anonymous> (node:internal/child_process:456:11)
88
+ Socket.emit (node:events:511:28)
89
+ Pipe.<anonymous> (node:net:334:12)
86
90
  ...
87
91
  # Subtest: $ qunitx help -> prints help text
88
92
  not ok 4 - $ qunitx help -> prints help text
89
93
  ---
90
- duration_ms: 346.180344
94
+ duration_ms: 1219.543611
91
95
  failureType: 'testCodeFailure'
92
96
  error: |-
93
97
  Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js help
@@ -115,7 +119,7 @@ TAP version 13
115
119
  # Subtest: $ qunitx h -> prints help text
116
120
  not ok 5 - $ qunitx h -> prints help text
117
121
  ---
118
- duration_ms: 339.01292
122
+ duration_ms: 1185.981364
119
123
  failureType: 'testCodeFailure'
120
124
  error: |-
121
125
  Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js h
@@ -138,12 +142,14 @@ TAP version 13
138
142
  ChildProcess.exithandler (node:child_process:419:12)
139
143
  ChildProcess.emit (node:events:511:28)
140
144
  maybeClose (node:internal/child_process:1098:16)
141
- ChildProcess._handle.onexit (node:internal/child_process:304:5)
145
+ Socket.<anonymous> (node:internal/child_process:456:11)
146
+ Socket.emit (node:events:511:28)
147
+ Pipe.<anonymous> (node:net:334:12)
142
148
  ...
143
149
  1..5
144
150
  not ok 1 - Commands | Help tests
145
151
  ---
146
- duration_ms: 365.616093
152
+ duration_ms: 1227.284124
147
153
  type: 'suite'
148
154
  failureType: 'subtestsFailed'
149
155
  error: '5 subtests failed'
@@ -162,9 +168,9 @@ not ok 1 - Commands | Help tests
162
168
  # 7: placeholder: 1000,
163
169
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
164
170
  # 9: }
165
- # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
171
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
166
172
  # 11: calling deepEqual test case
167
- # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
173
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
168
174
  # 13:
169
175
  # 14: 1..3
170
176
  # 15: \# tests 3
@@ -188,7 +194,7 @@ not ok 1 - Commands | Help tests
188
194
  # Subtest: --after works when it doesnt need to be awaited
189
195
  ok 1 - --after works when it doesnt need to be awaited
190
196
  ---
191
- duration_ms: 1778.822588
197
+ duration_ms: 873.878639
192
198
  ...
193
199
  # Trace:
194
200
  # TEST NAME: --after script tests | --after works it needs to be awaited
@@ -196,14 +202,14 @@ not ok 1 - Commands | Help tests
196
202
  # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
197
203
  # 1: TAP version 13
198
204
  # 2: calling assert true test case
199
- # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
205
+ # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
200
206
  # 4: resolving async test
201
207
  # 5: {
202
208
  # 6: moduleName: 'called resolved async test with object',
203
209
  # 7: placeholder: 1000,
204
210
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
205
211
  # 9: }
206
- # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
212
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
207
213
  # 11: calling deepEqual test case
208
214
  # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
209
215
  # 13:
@@ -212,7 +218,7 @@ not ok 1 - Commands | Help tests
212
218
  # 16: \# pass 3
213
219
  # 17: \# skip 0
214
220
  # 18: \# fail 0
215
- # 19: \# duration 59
221
+ # 19: \# duration 58
216
222
  # 20:
217
223
  # 21: This is running from after script!!
218
224
  # 22: After script result is written:
@@ -232,1002 +238,3 @@ not ok 1 - Commands | Help tests
232
238
  # at async Promise.all (index 2)
233
239
  # at async Suite.run (node:internal/test_runner/test:806:7)
234
240
  # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
235
- # Trace:
236
- # TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
237
- # TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
238
- # 0: \# QUnitX running: http://localhost:1234/
239
- # 1: TAP version 13
240
- # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
241
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
242
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
243
- # 5:
244
- # 6: 1..3
245
- # 7: \# tests 3
246
- # 8: \# pass 3
247
- # 9: \# skip 0
248
- # 10: \# fail 0
249
- # 11: \# duration 726
250
- # 12:
251
- # 13: This is running from after script!!
252
- # 14:
253
- #
254
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
255
- # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:15:24
256
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
257
- # at async Test.run (node:internal/test_runner/test:570:9)
258
- # at async Promise.all (index 1)
259
- # at async Suite.run (node:internal/test_runner/test:806:7)
260
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
261
- # Subtest: --after works for --browser mode when it doesnt need to be awaited
262
- ok 2 - --after works for --browser mode when it doesnt need to be awaited
263
- ---
264
- duration_ms: 3170.935916
265
- ...
266
- # Subtest: --after works it needs to be awaited
267
- ok 3 - --after works it needs to be awaited
268
- ---
269
- duration_ms: 1797.491692
270
- ...
271
- # Trace:
272
- # TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
273
- # TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
274
- # 0: \# QUnitX running: http://localhost:1235/
275
- # 1: TAP version 13
276
- # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
277
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
278
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
279
- # 5:
280
- # 6: 1..3
281
- # 7: \# tests 3
282
- # 8: \# pass 3
283
- # 9: \# skip 0
284
- # 10: \# fail 0
285
- # 11: \# duration 712
286
- # 12:
287
- # 13: This is running from after script!!
288
- # 14: After script result is written:
289
- # 15: {
290
- # 16: "testCount": 3,
291
- # 17: "failCount": 0,
292
- # 18: "skipCount": 0,
293
- # 19: "passCount": 3
294
- # 20: }
295
- # 21:
296
- #
297
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
298
- # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:33:24
299
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
300
- # at async Test.run (node:internal/test_runner/test:570:9)
301
- # at async Promise.all (index 3)
302
- # at async Suite.run (node:internal/test_runner/test:806:7)
303
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
304
- # Subtest: --after works for --browser mode it needs to be awaited
305
- ok 4 - --after works for --browser mode it needs to be awaited
306
- ---
307
- duration_ms: 3178.985835
308
- ...
309
- 1..4
310
- ok 2 - --after script tests
311
- ---
312
- duration_ms: 3189.238384
313
- type: 'suite'
314
- ...
315
- # Trace:
316
- # TEST NAME: --before script tests | --before works when it doesnt need to be awaited
317
- # TEST COMMAND: node cli.js test/helpers/passing-tests.js --before=test/helpers/before-script-basic.js
318
- # 0: This is running from before script!!
319
- # 1: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
320
- # 2: TAP version 13
321
- # 3: calling assert true test case
322
- # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
323
- # 5: resolving async test
324
- # 6: {
325
- # 7: moduleName: 'called resolved async test with object',
326
- # 8: placeholder: 1000,
327
- # 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
328
- # 10: }
329
- # 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
330
- # 12: calling deepEqual test case
331
- # 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
332
- # 14:
333
- # 15: 1..3
334
- # 16: \# tests 3
335
- # 17: \# pass 3
336
- # 18: \# skip 0
337
- # 19: \# fail 0
338
- # 20: \# duration 58
339
- # 21:
340
- # 22:
341
- #
342
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
343
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
344
- # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:7:24
345
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
346
- # at async Test.run (node:internal/test_runner/test:570:9)
347
- # at async Promise.all (index 0)
348
- # at async Suite.run (node:internal/test_runner/test:806:7)
349
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
350
- # Subtest: --before script tests
351
- # Subtest: --before works when it doesnt need to be awaited
352
- ok 1 - --before works when it doesnt need to be awaited
353
- ---
354
- duration_ms: 834.355697
355
- ...
356
- # Trace:
357
- # ERROR TEST Name: --before script tests | --before works for --browser mode when it doesnt need to be awaited
358
- # ERROR TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
359
- # Error: Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
360
- # file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12
361
- # return await bindServerToPort(server, Object.assign(config, { port: config.port + 1 }));
362
- # ^
363
- # TypeError: Cannot set property port of \#<App> which has only a getter
364
- # at Function.assign (<anonymous>)
365
- # at bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
366
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
367
- # at async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
368
- # at async Promise.all (index 1)
369
- # at async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
370
- # at async Promise.all (index 0)
371
- # at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
372
- # at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
373
- # Node.js v20.3.1
374
- #
375
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
376
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
377
- # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
378
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
379
- # at async Test.run (node:internal/test_runner/test:570:9)
380
- # at async Promise.all (index 1)
381
- # at async Suite.run (node:internal/test_runner/test:806:7)
382
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
383
- # Subtest: --before works for --browser mode when it doesnt need to be awaited
384
- not ok 2 - --before works for --browser mode when it doesnt need to be awaited
385
- ---
386
- duration_ms: 969.457488
387
- failureType: 'testCodeFailure'
388
- error: |-
389
- Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
390
- file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12
391
- return await bindServerToPort(server, Object.assign(config, { port: config.port + 1 }));
392
- ^
393
-
394
- TypeError: Cannot set property port of #<App> which has only a getter
395
- at Function.assign (<anonymous>)
396
- at bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
397
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
398
- at async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
399
- at async Promise.all (index 1)
400
- at async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
401
- at async Promise.all (index 0)
402
- at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
403
- at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
404
-
405
- Node.js v20.3.1
406
-
407
- code: 1
408
- stack: |-
409
- Function.assign (<anonymous>)
410
- bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
411
- process.processTicksAndRejections (node:internal/process/task_queues:95:5)
412
- async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
413
- async Promise.all (index 1)
414
- async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
415
- async Promise.all (index 0)
416
- async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
417
- async file:///home/izelnakri/Github/qunitx/cli.js:23:10
418
- ChildProcess.exithandler (node:child_process:419:12)
419
- ChildProcess.emit (node:events:511:28)
420
- maybeClose (node:internal/child_process:1098:16)
421
- ChildProcess._handle.onexit (node:internal/child_process:304:5)
422
- ...
423
- # Trace:
424
- # TEST NAME: --before script tests | --before works it needs to be awaited
425
- # TEST COMMAND: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --before=test/helpers/before-script-async.js
426
- # 0: This is running from before script!!
427
- # 1: Starting before script with:
428
- # 2: DOESNT HAVE SERVER RUNNING
429
- # 3: \# HTTPServer [Server]: started successfully at [localhost:1234] in [3ms]
430
- # 4: Web server started on port 1234
431
- # 5: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
432
- # 6: TAP version 13
433
- # 7: calling assert true test case
434
- # 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
435
- # 9: resolving async test
436
- # 10: {
437
- # 11: moduleName: 'called resolved async test with object',
438
- # 12: placeholder: 1000,
439
- # 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
440
- # 14: }
441
- # 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
442
- # 16: calling deepEqual test case
443
- # 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
444
- # 18: req received
445
- # 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (328 ms)
446
- # 20:
447
- # 21: 1..4
448
- # 22: \# tests 4
449
- # 23: \# pass 4
450
- # 24: \# skip 0
451
- # 25: \# fail 0
452
- # 26: \# duration 386
453
- # 27:
454
- # 28:
455
- #
456
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
457
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
458
- # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:23:24
459
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
460
- # at async Test.run (node:internal/test_runner/test:570:9)
461
- # at async Promise.all (index 2)
462
- # at async Suite.run (node:internal/test_runner/test:806:7)
463
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
464
- # Subtest: --before works it needs to be awaited
465
- ok 3 - --before works it needs to be awaited
466
- ---
467
- duration_ms: 1331.511854
468
- ...
469
- # Trace:
470
- # TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
471
- # TEST COMMAND: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --browser --before=test/helpers/before-script-async.js
472
- # 0: This is running from before script!!
473
- # 1: Starting before script with:
474
- # 2: \# QUnitX running: http://localhost:1235/
475
- # 3: TAP version 13
476
- # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
477
- # 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
478
- # 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
479
- # 7: req received
480
- # 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (269 ms)
481
- # 9:
482
- # 10: 1..4
483
- # 11: \# tests 4
484
- # 12: \# pass 4
485
- # 13: \# skip 0
486
- # 14: \# fail 0
487
- # 15: \# duration 992
488
- # 16:
489
- # 17:
490
- #
491
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
492
- # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:33:24
493
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
494
- # at async Test.run (node:internal/test_runner/test:570:9)
495
- # at async Promise.all (index 3)
496
- # at async Suite.run (node:internal/test_runner/test:806:7)
497
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
498
- # Subtest: --before works for --browser mode it needs to be awaited
499
- ok 4 - --before works for --browser mode it needs to be awaited
500
- ---
501
- duration_ms: 2100.265345
502
- ...
503
- 1..4
504
- not ok 3 - --before script tests
505
- ---
506
- duration_ms: 2126.214872
507
- type: 'suite'
508
- failureType: 'subtestsFailed'
509
- error: '1 subtest failed'
510
- code: 'ERR_TEST_FAILURE'
511
- ...
512
- # Subtest: Advanced HTML Input Tests
513
- # Subtest: testing with specific html without content works
514
- ok 1 - testing with specific html without content works
515
- ---
516
- duration_ms: 0.332912
517
- ...
518
- 1..1
519
- ok 4 - Advanced HTML Input Tests
520
- ---
521
- duration_ms: 0.523172
522
- type: 'suite'
523
- ...
524
- # Subtest: Advanced Error Edge Cases Tests
525
- # Subtest: todo
526
- ok 1 - todo
527
- ---
528
- duration_ms: 0.176218
529
- ...
530
- 1..1
531
- ok 5 - Advanced Error Edge Cases Tests
532
- ---
533
- duration_ms: 0.355697
534
- type: 'suite'
535
- ...
536
- # Subtest: File and Folder Combination Tests
537
- # Subtest: todo
538
- ok 1 - todo
539
- ---
540
- duration_ms: 0.188246
541
- ...
542
- 1..1
543
- ok 6 - File and Folder Combination Tests
544
- ---
545
- duration_ms: 0.350713
546
- type: 'suite'
547
- ...
548
- # Trace:
549
- # TEST NAME: File Input Tests | testing a single passing js file works
550
- # TEST COMMAND: node cli.js tmp/test/passing-tests.js
551
- # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/test/passing-tests.js
552
- # 1: TAP version 13
553
- # 2: calling assert true test case
554
- # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
555
- # 4: resolving async test
556
- # 5: {
557
- # 6: moduleName: 'called resolved async test with object',
558
- # 7: placeholder: 1000,
559
- # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
560
- # 9: }
561
- # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
562
- # 11: calling deepEqual test case
563
- # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
564
- # 13:
565
- # 14: 1..3
566
- # 15: \# tests 3
567
- # 16: \# pass 3
568
- # 17: \# skip 0
569
- # 18: \# fail 0
570
- # 19: \# duration 59
571
- # 20:
572
- # 21:
573
- #
574
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
575
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
576
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:7:24
577
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
578
- # at async Test.run (node:internal/test_runner/test:570:9)
579
- # at async Promise.all (index 0)
580
- # at async Suite.run (node:internal/test_runner/test:806:7)
581
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
582
- # Subtest: File Input Tests
583
- # Subtest: testing a single passing js file works
584
- ok 1 - testing a single passing js file works
585
- ---
586
- duration_ms: 607.178638
587
- ...
588
- # Trace:
589
- # ERROR TEST Name: File Input Tests | testing a single failing js file works
590
- # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js
591
- # Error: Command failed: node cli.js tmp/test/failing-tests.js
592
- #
593
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
594
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
595
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:15:7
596
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
597
- # at async Test.run (node:internal/test_runner/test:570:9)
598
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
599
- # Subtest: testing a single failing js file works
600
- ok 2 - testing a single failing js file works
601
- ---
602
- duration_ms: 596.099372
603
- ...
604
- # Trace:
605
- # TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
606
- # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
607
- # 0: \# QUnitX running: http://localhost:1234/
608
- # 1: TAP version 13
609
- # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
610
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (83 ms)
611
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
612
- # 5:
613
- # 6: 1..3
614
- # 7: \# tests 3
615
- # 8: \# pass 3
616
- # 9: \# skip 0
617
- # 10: \# fail 0
618
- # 11: \# duration 775
619
- # 12:
620
- # 13:
621
- #
622
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
623
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:97:24
624
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
625
- # at async Test.run (node:internal/test_runner/test:570:9)
626
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
627
- # Subtest: testing a single passing js file with --browser works, console output supressed
628
- ok 3 - testing a single passing js file with --browser works, console output supressed
629
- ---
630
- duration_ms: 1695.695045
631
- ...
632
- # Trace:
633
- # TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
634
- # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
635
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [189ms]
636
- # 1: \# QUnitX running: http://localhost:1234/
637
- # 2: \# [HTTPServer] GET /favicon.ico
638
- # 3: TAP version 13
639
- # 4: calling assert true test case
640
- # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
641
- # 6: resolving async test
642
- # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (62 ms)
643
- # 8: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
644
- # 9: calling deepEqual test case
645
- # 10: {
646
- # 11: moduleName: 'called resolved async test with object',
647
- # 12: placeholder: 1000,
648
- # 13: anotherObject: { firstName: 'Izel', createdAt: {} }
649
- # 14: }
650
- # 15:
651
- # 16: 1..3
652
- # 17: \# tests 3
653
- # 18: \# pass 3
654
- # 19: \# skip 0
655
- # 20: \# fail 0
656
- # 21: \# duration 768
657
- # 22:
658
- # 23: \# HTTPServer [Server]: stopped successfully
659
- # 24:
660
- #
661
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
662
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:104:24
663
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
664
- # at async Test.run (node:internal/test_runner/test:570:9)
665
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
666
- # Subtest: testing a single passing js file with --browser --debug works
667
- ok 4 - testing a single passing js file with --browser --debug works
668
- ---
669
- duration_ms: 1674.215926
670
- ...
671
- # Trace:
672
- # ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
673
- # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser
674
- # Error: Command failed: node cli.js tmp/test/failing-tests.js --browser
675
- #
676
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
677
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:114:24
678
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
679
- # at async Test.run (node:internal/test_runner/test:570:9)
680
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
681
- # Subtest: testing a single failing js with --browser file works
682
- ok 5 - testing a single failing js with --browser file works
683
- ---
684
- duration_ms: 1671.339446
685
- ...
686
- # Trace:
687
- # ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
688
- # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser --debug
689
- # Error: Command failed: node cli.js tmp/test/failing-tests.js --browser --debug
690
- #
691
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
692
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:124:7
693
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
694
- # at async Test.run (node:internal/test_runner/test:570:9)
695
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
696
- # Subtest: testing a single failing js file with --browser --debug works
697
- ok 6 - testing a single failing js file with --browser --debug works
698
- ---
699
- duration_ms: 1664.309019
700
- ...
701
- # Trace:
702
- # TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
703
- # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser
704
- # 0: \# QUnitX running: http://localhost:1234/
705
- # 1: TAP version 13
706
- # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
707
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (52 ms)
708
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
709
- # 5:
710
- # 6: 1..3
711
- # 7: \# tests 3
712
- # 8: \# pass 3
713
- # 9: \# skip 0
714
- # 10: \# fail 0
715
- # 11: \# duration 707
716
- # 12:
717
- # 13:
718
- #
719
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
720
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:133:24
721
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
722
- # at async Test.run (node:internal/test_runner/test:570:9)
723
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
724
- # Subtest: testing a single passing ts file with --browser works, console output supressed
725
- ok 7 - testing a single passing ts file with --browser works, console output supressed
726
- ---
727
- duration_ms: 1745.418842
728
- ...
729
- # Trace:
730
- # TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
731
- # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
732
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [196ms]
733
- # 1: \# QUnitX running: http://localhost:1234/
734
- # 2: \# [HTTPServer] GET /favicon.ico
735
- # 3: TAP version 13
736
- # 4: calling assert true test case
737
- # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
738
- # 6: resolving async test
739
- # 7: calling deepEqual test case
740
- # 8: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
741
- # 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
742
- # 10: {
743
- # 11: moduleName: 'called resolved async test with object',
744
- # 12: placeholder: 1000,
745
- # 13: anotherObject: { firstName: 'Izel', createdAt: {} }
746
- # 14: }
747
- # 15:
748
- # 16: 1..3
749
- # 17: \# tests 3
750
- # 18: \# pass 3
751
- # 19: \# skip 0
752
- # 20: \# fail 0
753
- # 21: \# duration 699
754
- # 22:
755
- # 23: \# HTTPServer [Server]: stopped successfully
756
- # 24:
757
- #
758
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
759
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:141:24
760
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
761
- # at async Test.run (node:internal/test_runner/test:570:9)
762
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
763
- # Subtest: testing a single passing ts file with --browser --debug works
764
- ok 8 - testing a single passing ts file with --browser --debug works
765
- ---
766
- duration_ms: 1752.931159
767
- ...
768
- # Trace:
769
- # ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
770
- # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser
771
- # Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser
772
- #
773
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
774
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:152:7
775
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
776
- # at async Test.run (node:internal/test_runner/test:570:9)
777
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
778
- # Subtest: testing a single failing ts with --browser file works
779
- ok 9 - testing a single failing ts with --browser file works
780
- ---
781
- duration_ms: 1726.165804
782
- ...
783
- # Trace:
784
- # ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
785
- # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser --debug
786
- # Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser --debug
787
- #
788
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
789
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:162:7
790
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
791
- # at async Test.run (node:internal/test_runner/test:570:9)
792
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
793
- # Subtest: testing a single failing ts file with --browser --debug works
794
- ok 10 - testing a single failing ts file with --browser --debug works
795
- ---
796
- duration_ms: 1677.832157
797
- ...
798
- 1..10
799
- ok 7 - File Input Tests
800
- ---
801
- duration_ms: 14812.196726
802
- type: 'suite'
803
- ...
804
- # Trace:
805
- # TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
806
- # TEST COMMAND: node cli.js tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d
807
- # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d/second-module-pass.js
808
- # 1: TAP version 13
809
- # 2: calling assert true test case
810
- # 3: ok 1 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | assert true works \# (1 ms)
811
- # 4: resolving async test
812
- # 5: {
813
- # 6: moduleName: 'called resolved async test with object',
814
- # 7: placeholder: 1000,
815
- # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
816
- # 9: }
817
- # 10: ok 2 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | async test finishes \# (56 ms)
818
- # 11: calling deepEqual test case
819
- # 12: ok 3 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
820
- # 13: calling assert true test case
821
- # 14: ok 4 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | assert true works \# (0 ms)
822
- # 15: resolving async test
823
- # 16: {
824
- # 17: moduleName: 'called resolved async test with object',
825
- # 18: placeholder: 1000,
826
- # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
827
- # 20: }
828
- # 21: ok 5 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | async test finishes \# (54 ms)
829
- # 22: calling deepEqual test case
830
- # 23: ok 6 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
831
- # 24:
832
- # 25: 1..6
833
- # 26: \# tests 6
834
- # 27: \# pass 6
835
- # 28: \# skip 0
836
- # 29: \# fail 0
837
- # 30: \# duration 117
838
- # 31:
839
- # 32:
840
- #
841
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
842
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
843
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:11:24
844
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
845
- # at async Test.run (node:internal/test_runner/test:570:9)
846
- # at async Promise.all (index 0)
847
- # at async Suite.run (node:internal/test_runner/test:806:7)
848
- # at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
849
- # Subtest: Folder Input Tests
850
- # Subtest: works for a single folder input with all passing tests
851
- ok 1 - works for a single folder input with all passing tests
852
- ---
853
- duration_ms: 689.755619
854
- ...
855
- # Trace:
856
- # ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
857
- # ERROR TEST COMMAND: node cli.js tmp/e68f5cd2-8c92-445f-bbc9-1b40b8056a2c
858
- # Error: Command failed: node cli.js tmp/e68f5cd2-8c92-445f-bbc9-1b40b8056a2c
859
- #
860
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
861
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
862
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:22:7
863
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
864
- # at async Test.run (node:internal/test_runner/test:570:9)
865
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
866
- # Subtest: works for a single folder input with few failing tests
867
- ok 2 - works for a single folder input with few failing tests
868
- ---
869
- duration_ms: 953.068832
870
- ...
871
- # Trace:
872
- # TEST NAME: Folder Input Tests |
873
- # TEST COMMAND: node cli.js tmp/6bd683b8-4d57-4804-a5f5-e870db68816e tmp/c74d7460-18fa-4582-b3fc-268334315dc7
874
- # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/6bd683b8-4d57-4804-a5f5-e870db68816e/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/6bd683b8-4d57-4804-a5f5-e870db68816e/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/c74d7460-18fa-4582-b3fc-268334315dc7/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/c74d7460-18fa-4582-b3fc-268334315dc7/second-module-pass.js
875
- # 1: TAP version 13
876
- # 2: calling assert true test case
877
- # 3: ok 1 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | assert true works \# (0 ms)
878
- # 4: resolving async test
879
- # 5: {
880
- # 6: moduleName: 'called resolved async test with object',
881
- # 7: placeholder: 1000,
882
- # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
883
- # 9: }
884
- # 10: ok 2 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | async test finishes \# (62 ms)
885
- # 11: calling deepEqual test case
886
- # 12: ok 3 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
887
- # 13: calling assert true test case
888
- # 14: ok 4 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | assert true works \# (1 ms)
889
- # 15: resolving async test
890
- # 16: {
891
- # 17: moduleName: 'called resolved async test with object',
892
- # 18: placeholder: 1000,
893
- # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
894
- # 20: }
895
- # 21: ok 5 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | async test finishes \# (52 ms)
896
- # 22: calling deepEqual test case
897
- # 23: ok 6 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
898
- # 24: calling assert true test case
899
- # 25: ok 7 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | assert true works \# (0 ms)
900
- # 26: resolving async test
901
- # 27: {
902
- # 28: moduleName: 'called resolved async test with object',
903
- # 29: placeholder: 1000,
904
- # 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
905
- # 31: }
906
- # 32: ok 8 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | async test finishes \# (53 ms)
907
- # 33: calling deepEqual test case
908
- # 34: ok 9 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
909
- # 35: calling assert true test case
910
- # 36: ok 10 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | assert true works \# (1 ms)
911
- # 37: resolving async test
912
- # 38: {
913
- # 39: moduleName: 'called resolved async test with object',
914
- # 40: placeholder: 1000,
915
- # 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
916
- # 42: }
917
- # 43: ok 11 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | async test finishes \# (53 ms)
918
- # 44: calling deepEqual test case
919
- # 45: ok 12 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
920
- # 46:
921
- # 47: 1..12
922
- # 48: \# tests 12
923
- # 49: \# pass 12
924
- # 50: \# skip 0
925
- # 51: \# fail 0
926
- # 52: \# duration 232
927
- # 53:
928
- # 54:
929
- #
930
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
931
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
932
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:37:24
933
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
934
- # at async Test.run (node:internal/test_runner/test:570:9)
935
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
936
- # Subtest: works for a multiple folders input with all passing tests
937
- ok 3 - works for a multiple folders input with all passing tests
938
- ---
939
- duration_ms: 852.559267
940
- ...
941
- # Trace:
942
- # ERROR TEST Name: Folder Input Tests |
943
- # ERROR TEST COMMAND: node cli.js tmp/a83bb7fe-7236-43b9-bb92-b2aa35991519 tmp/dc1f9741-c687-422b-a4cc-50a805825f45
944
- # Error: Command failed: node cli.js tmp/a83bb7fe-7236-43b9-bb92-b2aa35991519 tmp/dc1f9741-c687-422b-a4cc-50a805825f45
945
- #
946
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
947
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
948
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:52:7
949
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
950
- # at async Test.run (node:internal/test_runner/test:570:9)
951
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
952
- # Subtest: works for a multiple folders input with few failing tests
953
- ok 4 - works for a multiple folders input with few failing tests
954
- ---
955
- duration_ms: 1010.233592
956
- ...
957
- # Trace:
958
- # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with all passing tests
959
- # TEST COMMAND: node cli.js tmp/e3fe3034-05fd-40c4-aac3-bb9ca3a49409 --browser
960
- # 0: \# QUnitX running: http://localhost:1234/
961
- # 1: TAP version 13
962
- # 2: ok 1 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | assert true works \# (1 ms)
963
- # 3: ok 2 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | async test finishes \# (79 ms)
964
- # 4: ok 3 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
965
- # 5: ok 4 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | assert true works \# (1 ms)
966
- # 6: ok 5 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | async test finishes \# (64 ms)
967
- # 7: ok 6 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
968
- # 8:
969
- # 9: 1..6
970
- # 10: \# tests 6
971
- # 11: \# pass 6
972
- # 12: \# skip 0
973
- # 13: \# fail 0
974
- # 14: \# duration 819
975
- # 15:
976
- # 16:
977
- #
978
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
979
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:73:24
980
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
981
- # at async Test.run (node:internal/test_runner/test:570:9)
982
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
983
- # Subtest: works for a single folder input in browser mode with all passing tests
984
- ok 5 - works for a single folder input in browser mode with all passing tests
985
- ---
986
- duration_ms: 1663.245444
987
- ...
988
- # Trace:
989
- # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with few failing tests
990
- # ERROR TEST COMMAND: node cli.js tmp/1ed67185-b056-44da-93eb-dff6b42291e5 --browser
991
- # Error: Command failed: node cli.js tmp/1ed67185-b056-44da-93eb-dff6b42291e5 --browser
992
- #
993
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
994
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:84:7
995
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
996
- # at async Test.run (node:internal/test_runner/test:570:9)
997
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
998
- # Subtest: works for a single folder input in browser mode with few failing tests
999
- ok 6 - works for a single folder input in browser mode with few failing tests
1000
- ---
1001
- duration_ms: 1893.010268
1002
- ...
1003
- # Trace:
1004
- # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with all passing tests
1005
- # TEST COMMAND: node cli.js tmp/55f3d43c-4cac-4f1d-8287-953ae4f66486 tmp/6e6ac09c-e0f8-420c-85bd-0825962d4b7b --browser
1006
- # 0: \# QUnitX running: http://localhost:1234/
1007
- # 1: TAP version 13
1008
- # 2: ok 1 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | assert true works \# (1 ms)
1009
- # 3: ok 2 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | async test finishes \# (52 ms)
1010
- # 4: ok 3 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1011
- # 5: ok 4 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | assert true works \# (1 ms)
1012
- # 6: ok 5 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | async test finishes \# (61 ms)
1013
- # 7: ok 6 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1014
- # 8: ok 7 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | assert true works \# (1 ms)
1015
- # 9: ok 8 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | async test finishes \# (60 ms)
1016
- # 10: ok 9 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1017
- # 11: ok 10 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | assert true works \# (1 ms)
1018
- # 12: ok 11 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | async test finishes \# (59 ms)
1019
- # 13: ok 12 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1020
- # 14:
1021
- # 15: 1..12
1022
- # 16: \# tests 12
1023
- # 17: \# pass 12
1024
- # 18: \# skip 0
1025
- # 19: \# fail 0
1026
- # 20: \# duration 899
1027
- # 21:
1028
- # 22:
1029
- #
1030
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
1031
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:99:24
1032
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1033
- # at async Test.run (node:internal/test_runner/test:570:9)
1034
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1035
- # Subtest: works for a multiple folders input in browser mode with all passing tests
1036
- ok 7 - works for a multiple folders input in browser mode with all passing tests
1037
- ---
1038
- duration_ms: 1857.901275
1039
- ...
1040
- # Trace:
1041
- # ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with few failing tests
1042
- # ERROR TEST COMMAND: node cli.js tmp/17fe8821-9111-46ce-8094-90a2ae4f301f tmp/46a2b88f-658e-4759-872c-099bb9d8fe12 --browser
1043
- # Error: Command failed: node cli.js tmp/17fe8821-9111-46ce-8094-90a2ae4f301f tmp/46a2b88f-658e-4759-872c-099bb9d8fe12 --browser
1044
- #
1045
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
1046
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:114:7
1047
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1048
- # at async Test.run (node:internal/test_runner/test:570:9)
1049
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1050
- # Subtest: works for a multiple folders input in browser mode with few failing tests
1051
- ok 8 - works for a multiple folders input in browser mode with few failing tests
1052
- ---
1053
- duration_ms: 1998.116804
1054
- ...
1055
- # Trace:
1056
- # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with debug and all passing tests
1057
- # TEST COMMAND: node cli.js tmp/11744f0e-99b1-40f2-888e-da1faf3b350c --browser --debug
1058
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [196ms]
1059
- # 1: \# QUnitX running: http://localhost:1234/
1060
- # 2: \# [HTTPServer] GET /favicon.ico
1061
- # 3: TAP version 13
1062
- # 4: calling assert true test case
1063
- # 5: ok 1 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | assert true works \# (3 ms)
1064
- # 6: resolving async test
1065
- # 7: ok 2 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | async test finishes \# (75 ms)
1066
- # 8: calling deepEqual test case
1067
- # 9: ok 3 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1068
- # 10: calling assert true test case
1069
- # 11: ok 4 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | assert true works \# (1 ms)
1070
- # 12: {
1071
- # 13: moduleName: 'called resolved async test with object',
1072
- # 14: placeholder: 1000,
1073
- # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
1074
- # 16: }
1075
- # 17: resolving async test
1076
- # 18: calling deepEqual test case
1077
- # 19: ok 5 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | async test finishes \# (55 ms)
1078
- # 20: ok 6 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1079
- # 21: {
1080
- # 22: moduleName: 'called resolved async test with object',
1081
- # 23: placeholder: 1000,
1082
- # 24: anotherObject: { firstName: 'Izel', createdAt: {} }
1083
- # 25: }
1084
- # 26:
1085
- # 27: 1..6
1086
- # 28: \# tests 6
1087
- # 29: \# pass 6
1088
- # 30: \# skip 0
1089
- # 31: \# fail 0
1090
- # 32: \# duration 784
1091
- # 33:
1092
- # 34: \# HTTPServer [Server]: stopped successfully
1093
- # 35:
1094
- #
1095
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
1096
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:135:24
1097
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1098
- # at async Test.run (node:internal/test_runner/test:570:9)
1099
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1100
- # Subtest: works for a single folder input in browser mode with debug and all passing tests
1101
- ok 9 - works for a single folder input in browser mode with debug and all passing tests
1102
- ---
1103
- duration_ms: 1704.449142
1104
- ...
1105
- # Trace:
1106
- # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with debug and few failing tests
1107
- # ERROR TEST COMMAND: node cli.js tmp/d6683216-34ac-4bdf-8510-534ee78c897c --browser --debug
1108
- # Error: Command failed: node cli.js tmp/d6683216-34ac-4bdf-8510-534ee78c897c --browser --debug
1109
- #
1110
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
1111
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:146:7
1112
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1113
- # at async Test.run (node:internal/test_runner/test:570:9)
1114
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1115
- # Subtest: works for a single folder input in browser mode with debug and few failing tests
1116
- ok 10 - works for a single folder input in browser mode with debug and few failing tests
1117
- ---
1118
- duration_ms: 1798.334857
1119
- ...
1120
- # Trace:
1121
- # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with debug and all passing tests
1122
- # TEST COMMAND: node cli.js tmp/21b88a95-cd49-4f8f-9859-a14a74c61006 tmp/e503e2e0-8e92-46bf-beaf-1771c6278cf3 --browser --debug
1123
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [195ms]
1124
- # 1: \# QUnitX running: http://localhost:1234/
1125
- # 2: \# [HTTPServer] GET /favicon.ico
1126
- # 3: TAP version 13
1127
- # 4: calling assert true test case
1128
- # 5: ok 1 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | assert true works \# (1 ms)
1129
- # 6: resolving async test
1130
- # 7: calling deepEqual test case
1131
- # 8: ok 2 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | async test finishes \# (62 ms)
1132
- # 9: ok 3 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1133
- # 10: calling assert true test case
1134
- # 11: ok 4 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | assert true works \# (1 ms)
1135
- # 12: {
1136
- # 13: moduleName: 'called resolved async test with object',
1137
- # 14: placeholder: 1000,
1138
- # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
1139
- # 16: }
1140
- # 17: resolving async test
1141
- # 18: calling deepEqual test case
1142
- # 19: ok 5 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | async test finishes \# (59 ms)
1143
- # 20: ok 6 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1144
- # 21: calling assert true test case
1145
- # 22: ok 7 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | assert true works \# (1 ms)
1146
- # 23: {
1147
- # 24: moduleName: 'called resolved async test with object',
1148
- # 25: placeholder: 1000,
1149
- # 26: anotherObject: { firstName: 'Izel', createdAt: {} }
1150
- # 27: }
1151
- # 28: resolving async test
1152
- # 29: ok 8 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | async test finishes \# (59 ms)
1153
- # 30: calling deepEqual test case
1154
- # 31: ok 9 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1155
- # 32: calling assert true test case
1156
- # 33: ok 10 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | assert true works \# (1 ms)
1157
- # 34: {
1158
- # 35: moduleName: 'called resolved async test with object',
1159
- # 36: placeholder: 1000,
1160
- # 37: anotherObject: { firstName: 'Izel', createdAt: {} }
1161
- # 38: }
1162
- # 39: resolving async test
1163
- # 40: ok 11 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | async test finishes \# (59 ms)
1164
- # 41: calling deepEqual test case
1165
- # 42: ok 12 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1166
- # 43: {
1167
- # 44: moduleName: 'called resolved async test with object',
1168
- # 45: placeholder: 1000,
1169
- # 46: anotherObject: { firstName: 'Izel', createdAt: {} }
1170
- # 47: }
1171
- # 48:
1172
- # 49: 1..12
1173
- # 50: \# tests 12
1174
- # 51: \# pass 12
1175
- # 52: \# skip 0
1176
- # 53: \# fail 0
1177
- # 54: \# duration 946
1178
- # 55:
1179
- # 56: \# HTTPServer [Server]: stopped successfully
1180
- # 57:
1181
- #
1182
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
1183
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:161:24
1184
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1185
- # at async Test.run (node:internal/test_runner/test:570:9)
1186
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1187
- # Subtest: works for a multiple folders input in browser mode with debug and all passing tests
1188
- ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
1189
- ---
1190
- duration_ms: 1787.370494
1191
- ...
1192
- # Trace:
1193
- # ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with debug and few failing tests
1194
- # ERROR TEST COMMAND: node cli.js tmp/8a7e547d-2922-443c-a337-0f53495d8716 tmp/0bc6cbb9-db6c-4bfc-8400-3cf9e31aed16 --browser --debug
1195
- # Error: Command failed: node cli.js tmp/8a7e547d-2922-443c-a337-0f53495d8716 tmp/0bc6cbb9-db6c-4bfc-8400-3cf9e31aed16 --browser --debug
1196
- #
1197
- # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
1198
- # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:176:7
1199
- # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1200
- # at async Test.run (node:internal/test_runner/test:570:9)
1201
- # at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
1202
- # Subtest: works for a multiple folders input in browser mode with debug and few failing tests
1203
- ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
1204
- ---
1205
- duration_ms: 1954.157387
1206
- ...
1207
- 1..12
1208
- ok 8 - Folder Input Tests
1209
- ---
1210
- duration_ms: 18163.801543
1211
- type: 'suite'
1212
- ...
1213
- # Subtest: Setup | glob(*) input tests | test-file-paths tests
1214
- # Subtest: setupTestFilePaths() works correctly on different inputs
1215
- ok 1 - setupTestFilePaths() works correctly on different inputs
1216
- ---
1217
- duration_ms: 8.472716
1218
- ...
1219
- 1..1
1220
- ok 9 - Setup | glob(*) input tests | test-file-paths tests
1221
- ---
1222
- duration_ms: 8.625219
1223
- type: 'suite'
1224
- ...
1225
- 1..9
1226
- # tests 39
1227
- # suites 9
1228
- # pass 33
1229
- # fail 6
1230
- # cancelled 0
1231
- # skipped 0
1232
- # todo 0
1233
- # duration_ms 38747.73684