qunitx 0.4.3 → 0.4.4

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.
@@ -152,6 +152,23 @@ function testRuntimeToInject(port, config) {
152
152
 
153
153
  {{allTestCode}}
154
154
 
155
+ function getCircularReplacer() {
156
+ const ancestors = [];
157
+ return function (key, value) {
158
+ if (typeof value !== "object" || value === null) {
159
+ return value;
160
+ }
161
+ while (ancestors.length > 0 && ancestors.at(-1) !== this) {
162
+ ancestors.pop();
163
+ }
164
+ if (ancestors.includes(value)) {
165
+ return "[Circular]";
166
+ }
167
+ ancestors.push(value);
168
+ return value;
169
+ };
170
+ }
171
+
155
172
  function setupQUnit() {
156
173
  window.QUNIT_RESULT = { totalTests: 0, finishedTests: 0, currentTest: '' };
157
174
 
@@ -173,7 +190,7 @@ function testRuntimeToInject(port, config) {
173
190
  });
174
191
  window.QUnit.moduleStart((details) => { // NOTE: might be useful in future for hanged module tracking
175
192
  if (window.IS_PUPPETEER) {
176
- window.socket.send(JSON.stringify({ event: 'moduleStart', details: details }));
193
+ window.socket.send(JSON.stringify({ event: 'moduleStart', details: details }, getCircularReplacer()));
177
194
  }
178
195
  });
179
196
  window.QUnit.on('testStart', (details) => {
@@ -185,7 +202,7 @@ function testRuntimeToInject(port, config) {
185
202
  window.QUNIT_RESULT.finishedTests++;
186
203
  window.QUNIT_RESULT.currentTest = null;
187
204
  if (window.IS_PUPPETEER) {
188
- window.socket.send(JSON.stringify({ event: 'testEnd', details: details, abort: window.abortQUnit }));
205
+ window.socket.send(JSON.stringify({ event: 'testEnd', details: details, abort: window.abortQUnit }, getCircularReplacer()));
189
206
 
190
207
  if (${config.failFast} && details.status === 'failed') {
191
208
  window.QUnit.config.queue.length = 0;
@@ -195,7 +212,7 @@ function testRuntimeToInject(port, config) {
195
212
  window.QUnit.done((details) => {
196
213
  if (window.IS_PUPPETEER) {
197
214
  window.setTimeout(() => {
198
- window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }))
215
+ window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }, getCircularReplacer()))
199
216
  }, 50);
200
217
  }
201
218
  window.setTimeout(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qunitx",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "description": "Experimental improvements, suggestions for qunit CLI",
6
6
  "author": "Izel Nakri",
7
7
  "license": "MIT",
package/test-output.log CHANGED
@@ -1,5 +1,5 @@
1
1
  TAP version 13
2
- # [qunitx v0.4.2] Usage: qunitx [targets] --$flags
2
+ # [qunitx v0.4.3] Usage: qunitx [targets] --$flags
3
3
  # Input options:
4
4
  # - File: $ qunitx test/foo.js
5
5
  # - Folder: $ qunitx test/login
@@ -22,32 +22,32 @@ TAP version 13
22
22
  # Subtest: $ qunitx -> prints help text
23
23
  ok 1 - $ qunitx -> prints help text
24
24
  ---
25
- duration_ms: 744.726987
25
+ duration_ms: 1915.762398
26
26
  ...
27
27
  # Subtest: $ qunitx print -> prints help text
28
28
  ok 2 - $ qunitx print -> prints help text
29
29
  ---
30
- duration_ms: 541.788171
30
+ duration_ms: 629.240555
31
31
  ...
32
32
  # Subtest: $ qunitx p -> prints help text
33
33
  ok 3 - $ qunitx p -> prints help text
34
34
  ---
35
- duration_ms: 660.096809
35
+ duration_ms: 668.734338
36
36
  ...
37
37
  # Subtest: $ qunitx help -> prints help text
38
38
  ok 4 - $ qunitx help -> prints help text
39
39
  ---
40
- duration_ms: 756.59547
40
+ duration_ms: 654.139889
41
41
  ...
42
42
  # Subtest: $ qunitx h -> prints help text
43
43
  ok 5 - $ qunitx h -> prints help text
44
44
  ---
45
- duration_ms: 572.221334
45
+ duration_ms: 625.765609
46
46
  ...
47
47
  1..5
48
48
  ok 1 - Commands | Help tests
49
49
  ---
50
- duration_ms: 3277.459656
50
+ duration_ms: 4495.86291
51
51
  type: 'suite'
52
52
  ...
53
53
  # Trace:
@@ -63,7 +63,7 @@ ok 1 - Commands | Help tests
63
63
  # 7: placeholder: 1000,
64
64
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
65
65
  # 9: }
66
- # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
66
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
67
67
  # 11: calling deepEqual test case
68
68
  # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
69
69
  # 13:
@@ -72,7 +72,7 @@ ok 1 - Commands | Help tests
72
72
  # 16: \# pass 3
73
73
  # 17: \# skip 0
74
74
  # 18: \# fail 0
75
- # 19: \# duration 57
75
+ # 19: \# duration 56
76
76
  # 20:
77
77
  # 21: This is running from after script!!
78
78
  # 22:
@@ -89,7 +89,7 @@ ok 1 - Commands | Help tests
89
89
  # Subtest: --after works when it doesnt need to be awaited
90
90
  ok 1 - --after works when it doesnt need to be awaited
91
91
  ---
92
- duration_ms: 853.11027
92
+ duration_ms: 2027.761048
93
93
  ...
94
94
  # Trace:
95
95
  # TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
@@ -97,15 +97,15 @@ ok 1 - Commands | Help tests
97
97
  # 0: \# QUnitX running: http://localhost:1234/
98
98
  # 1: TAP version 13
99
99
  # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
100
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
101
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
100
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
101
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
102
102
  # 5:
103
103
  # 6: 1
104
104
  # 7: \# tests 3
105
105
  # 8: \# pass 3
106
106
  # 9: \# skip 0
107
107
  # 10: \# fail 0
108
- # 11: \# duration 679
108
+ # 11: \# duration 647
109
109
  # 12:
110
110
  # 13: This is running from after script!!
111
111
  # 14:
@@ -118,7 +118,7 @@ ok 1 - Commands | Help tests
118
118
  # Subtest: --after works for --browser mode when it doesnt need to be awaited
119
119
  ok 2 - --after works for --browser mode when it doesnt need to be awaited
120
120
  ---
121
- duration_ms: 1805.844421
121
+ duration_ms: 1780.640005
122
122
  ...
123
123
  # Trace:
124
124
  # TEST NAME: --after script tests | --after works it needs to be awaited
@@ -133,16 +133,16 @@ ok 1 - Commands | Help tests
133
133
  # 7: placeholder: 1000,
134
134
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
135
135
  # 9: }
136
- # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
136
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
137
137
  # 11: calling deepEqual test case
138
- # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
138
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
139
139
  # 13:
140
140
  # 14: 1
141
141
  # 15: \# tests 3
142
142
  # 16: \# pass 3
143
143
  # 17: \# skip 0
144
144
  # 18: \# fail 0
145
- # 19: \# duration 66
145
+ # 19: \# duration 59
146
146
  # 20:
147
147
  # 21: This is running from after script!!
148
148
  # 22: After script result is written:
@@ -163,7 +163,7 @@ ok 1 - Commands | Help tests
163
163
  # Subtest: --after works it needs to be awaited
164
164
  ok 3 - --after works it needs to be awaited
165
165
  ---
166
- duration_ms: 740.956147
166
+ duration_ms: 724.654326
167
167
  ...
168
168
  # Trace:
169
169
  # TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
@@ -171,15 +171,15 @@ ok 1 - Commands | Help tests
171
171
  # 0: \# QUnitX running: http://localhost:1234/
172
172
  # 1: TAP version 13
173
173
  # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
174
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
175
- # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
174
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
175
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
176
176
  # 5:
177
177
  # 6: 1
178
178
  # 7: \# tests 3
179
179
  # 8: \# pass 3
180
180
  # 9: \# skip 0
181
181
  # 10: \# fail 0
182
- # 11: \# duration 680
182
+ # 11: \# duration 765
183
183
  # 12:
184
184
  # 13: This is running from after script!!
185
185
  # 14: After script result is written:
@@ -199,12 +199,12 @@ ok 1 - Commands | Help tests
199
199
  # Subtest: --after works for --browser mode it needs to be awaited
200
200
  ok 4 - --after works for --browser mode it needs to be awaited
201
201
  ---
202
- duration_ms: 1915.849383
202
+ duration_ms: 1831.153157
203
203
  ...
204
204
  1..4
205
205
  ok 2 - --after script tests
206
206
  ---
207
- duration_ms: 5318.655119
207
+ duration_ms: 6366.333335
208
208
  type: 'suite'
209
209
  ...
210
210
  # Trace:
@@ -221,7 +221,7 @@ ok 2 - --after script tests
221
221
  # 8: placeholder: 1000,
222
222
  # 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
223
223
  # 10: }
224
- # 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
224
+ # 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
225
225
  # 12: calling deepEqual test case
226
226
  # 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
227
227
  # 14:
@@ -230,7 +230,7 @@ ok 2 - --after script tests
230
230
  # 17: \# pass 3
231
231
  # 18: \# skip 0
232
232
  # 19: \# fail 0
233
- # 20: \# duration 56
233
+ # 20: \# duration 59
234
234
  # 21:
235
235
  # 22:
236
236
  #
@@ -246,7 +246,7 @@ ok 2 - --after script tests
246
246
  # Subtest: --before works when it doesnt need to be awaited
247
247
  ok 1 - --before works when it doesnt need to be awaited
248
248
  ---
249
- duration_ms: 719.456129
249
+ duration_ms: 831.769145
250
250
  ...
251
251
  # Trace:
252
252
  # TEST NAME: --before script tests | --before works for --browser mode when it doesnt need to be awaited
@@ -255,7 +255,7 @@ ok 2 - --after script tests
255
255
  # 1: \# QUnitX running: http://localhost:1235/
256
256
  # 2: TAP version 13
257
257
  # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
258
- # 4: ok 2 {{moduleName}} Passing Tests | async test finishes \# (63 ms)
258
+ # 4: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
259
259
  # 5: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
260
260
  # 6:
261
261
  # 7: 1
@@ -263,7 +263,7 @@ ok 2 - --after script tests
263
263
  # 9: \# pass 3
264
264
  # 10: \# skip 0
265
265
  # 11: \# fail 0
266
- # 12: \# duration 577
266
+ # 12: \# duration 652
267
267
  # 13:
268
268
  # 14:
269
269
  #
@@ -275,7 +275,7 @@ ok 2 - --after script tests
275
275
  # Subtest: --before works for --browser mode when it doesnt need to be awaited
276
276
  ok 2 - --before works for --browser mode when it doesnt need to be awaited
277
277
  ---
278
- duration_ms: 1726.366108
278
+ duration_ms: 1705.465915
279
279
  ...
280
280
  # Trace:
281
281
  # TEST NAME: --before script tests | --before works it needs to be awaited
@@ -288,25 +288,25 @@ ok 2 - --after script tests
288
288
  # 5: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
289
289
  # 6: TAP version 13
290
290
  # 7: calling assert true test case
291
- # 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (0 ms)
291
+ # 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
292
292
  # 9: resolving async test
293
293
  # 10: {
294
294
  # 11: moduleName: 'called resolved async test with object',
295
295
  # 12: placeholder: 1000,
296
296
  # 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
297
297
  # 14: }
298
- # 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
298
+ # 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
299
299
  # 16: calling deepEqual test case
300
- # 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
300
+ # 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
301
301
  # 18: req received
302
- # 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (288 ms)
302
+ # 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (325 ms)
303
303
  # 20:
304
304
  # 21: 1
305
305
  # 22: \# tests 4
306
306
  # 23: \# pass 4
307
307
  # 24: \# skip 0
308
308
  # 25: \# fail 0
309
- # 26: \# duration 345
309
+ # 26: \# duration 393
310
310
  # 27:
311
311
  # 28:
312
312
  #
@@ -319,27 +319,27 @@ ok 2 - --after script tests
319
319
  # Subtest: --before works it needs to be awaited
320
320
  ok 3 - --before works it needs to be awaited
321
321
  ---
322
- duration_ms: 1072.600833
322
+ duration_ms: 1226.354775
323
323
  ...
324
324
  # Trace:
325
325
  # TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
326
326
  # 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
327
327
  # 0: This is running from before script!!
328
328
  # 1: Starting before script with:
329
- # 2: \# QUnitX running: http://localhost:1234/
329
+ # 2: \# QUnitX running: http://localhost:1235/
330
330
  # 3: TAP version 13
331
- # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
332
- # 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (72 ms)
333
- # 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
331
+ # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (4 ms)
332
+ # 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
333
+ # 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
334
334
  # 7: req received
335
- # 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (266 ms)
335
+ # 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (267 ms)
336
336
  # 9:
337
337
  # 10: 1
338
338
  # 11: \# tests 4
339
339
  # 12: \# pass 4
340
340
  # 13: \# skip 0
341
341
  # 14: \# fail 0
342
- # 15: \# duration 987
342
+ # 15: \# duration 892
343
343
  # 16:
344
344
  # 17:
345
345
  #
@@ -351,48 +351,48 @@ ok 2 - --after script tests
351
351
  # Subtest: --before works for --browser mode it needs to be awaited
352
352
  ok 4 - --before works for --browser mode it needs to be awaited
353
353
  ---
354
- duration_ms: 2020.024366
354
+ duration_ms: 1787.733628
355
355
  ...
356
356
  1..4
357
357
  ok 3 - --before script tests
358
358
  ---
359
- duration_ms: 5539.215849
359
+ duration_ms: 5551.987085
360
360
  type: 'suite'
361
361
  ...
362
362
  # Subtest: Advanced HTML Input Tests
363
363
  # Subtest: testing with specific html without content works
364
364
  ok 1 - testing with specific html without content works
365
365
  ---
366
- duration_ms: 0.761424
366
+ duration_ms: 0.40185
367
367
  ...
368
368
  1..1
369
369
  ok 4 - Advanced HTML Input Tests
370
370
  ---
371
- duration_ms: 8.07698
371
+ duration_ms: 2.140967
372
372
  type: 'suite'
373
373
  ...
374
374
  # Subtest: Advanced Error Edge Cases Tests
375
375
  # Subtest: todo
376
376
  ok 1 - todo
377
377
  ---
378
- duration_ms: 0.513365
378
+ duration_ms: 0.17043
379
379
  ...
380
380
  1..1
381
381
  ok 5 - Advanced Error Edge Cases Tests
382
382
  ---
383
- duration_ms: 0.825836
383
+ duration_ms: 0.278628
384
384
  type: 'suite'
385
385
  ...
386
386
  # Subtest: File and Folder Combination Tests
387
387
  # Subtest: todo
388
388
  ok 1 - todo
389
389
  ---
390
- duration_ms: 0.438557
390
+ duration_ms: 0.127173
391
391
  ...
392
392
  1..1
393
393
  ok 6 - File and Folder Combination Tests
394
394
  ---
395
- duration_ms: 0.78893
395
+ duration_ms: 0.234386
396
396
  type: 'suite'
397
397
  ...
398
398
  # Trace:
@@ -410,14 +410,14 @@ ok 6 - File and Folder Combination Tests
410
410
  # 9: }
411
411
  # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
412
412
  # 11: calling deepEqual test case
413
- # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
413
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
414
414
  # 13:
415
415
  # 14: 1
416
416
  # 15: \# tests 3
417
417
  # 16: \# pass 3
418
418
  # 17: \# skip 0
419
419
  # 18: \# fail 0
420
- # 19: \# duration 56
420
+ # 19: \# duration 57
421
421
  # 20:
422
422
  # 21:
423
423
  #
@@ -433,7 +433,7 @@ ok 6 - File and Folder Combination Tests
433
433
  # Subtest: testing a single passing js file works
434
434
  ok 1 - testing a single passing js file works
435
435
  ---
436
- duration_ms: 815.266265
436
+ duration_ms: 2017.734589
437
437
  ...
438
438
  # Trace:
439
439
  # ERROR TEST Name: File Input Tests | testing a single failing js file works
@@ -450,15 +450,15 @@ ok 6 - File and Folder Combination Tests
450
450
  # Subtest: testing a single failing js file works
451
451
  ok 2 - testing a single failing js file works
452
452
  ---
453
- duration_ms: 782.908771
453
+ duration_ms: 765.184642
454
454
  ...
455
455
  # Trace:
456
456
  # TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
457
457
  # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
458
- # 0: \# QUnitX running: http://localhost:1234/
458
+ # 0: \# QUnitX running: http://localhost:1235/
459
459
  # 1: TAP version 13
460
460
  # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
461
- # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
461
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
462
462
  # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
463
463
  # 5:
464
464
  # 6: 1
@@ -466,7 +466,7 @@ ok 6 - File and Folder Combination Tests
466
466
  # 8: \# pass 3
467
467
  # 9: \# skip 0
468
468
  # 10: \# fail 0
469
- # 11: \# duration 655
469
+ # 11: \# duration 653
470
470
  # 12:
471
471
  # 13:
472
472
  #
@@ -478,21 +478,21 @@ ok 6 - File and Folder Combination Tests
478
478
  # Subtest: testing a single passing js file with --browser works, console output supressed
479
479
  ok 3 - testing a single passing js file with --browser works, console output supressed
480
480
  ---
481
- duration_ms: 1969.670196
481
+ duration_ms: 1803.48936
482
482
  ...
483
483
  # Trace:
484
484
  # TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
485
485
  # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
486
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1235] in [398ms]
486
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1235] in [217ms]
487
487
  # 1: \# QUnitX running: http://localhost:1235/
488
488
  # 2: \# [HTTPServer] GET /favicon.ico
489
489
  # 3: TAP version 13
490
490
  # 4: calling assert true test case
491
491
  # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
492
492
  # 6: resolving async test
493
- # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
494
- # 8: calling deepEqual test case
495
- # 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
493
+ # 7: calling deepEqual test case
494
+ # 8: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
495
+ # 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
496
496
  # 10: {
497
497
  # 11: moduleName: 'called resolved async test with object',
498
498
  # 12: placeholder: 1000,
@@ -504,7 +504,7 @@ ok 6 - File and Folder Combination Tests
504
504
  # 18: \# pass 3
505
505
  # 19: \# skip 0
506
506
  # 20: \# fail 0
507
- # 21: \# duration 588
507
+ # 21: \# duration 749
508
508
  # 22:
509
509
  # 23: \# HTTPServer [Server]: stopped successfully
510
510
  # 24:
@@ -517,7 +517,7 @@ ok 6 - File and Folder Combination Tests
517
517
  # Subtest: testing a single passing js file with --browser --debug works
518
518
  ok 4 - testing a single passing js file with --browser --debug works
519
519
  ---
520
- duration_ms: 1968.77012
520
+ duration_ms: 1750.680301
521
521
  ...
522
522
  # Trace:
523
523
  # ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
@@ -533,7 +533,7 @@ ok 6 - File and Folder Combination Tests
533
533
  # Subtest: testing a single failing js with --browser file works
534
534
  ok 5 - testing a single failing js with --browser file works
535
535
  ---
536
- duration_ms: 1708.773192
536
+ duration_ms: 1923.405741
537
537
  ...
538
538
  # Trace:
539
539
  # ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
@@ -549,14 +549,14 @@ ok 6 - File and Folder Combination Tests
549
549
  # Subtest: testing a single failing js file with --browser --debug works
550
550
  ok 6 - testing a single failing js file with --browser --debug works
551
551
  ---
552
- duration_ms: 1696.430083
552
+ duration_ms: 1767.767347
553
553
  ...
554
554
  # Trace:
555
555
  # TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
556
556
  # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser
557
- # 0: \# QUnitX running: http://localhost:1235/
557
+ # 0: \# QUnitX running: http://localhost:1234/
558
558
  # 1: TAP version 13
559
- # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
559
+ # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (3 ms)
560
560
  # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
561
561
  # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
562
562
  # 5:
@@ -565,7 +565,7 @@ ok 6 - File and Folder Combination Tests
565
565
  # 8: \# pass 3
566
566
  # 9: \# skip 0
567
567
  # 10: \# fail 0
568
- # 11: \# duration 643
568
+ # 11: \# duration 706
569
569
  # 12:
570
570
  # 13:
571
571
  #
@@ -577,19 +577,19 @@ ok 6 - File and Folder Combination Tests
577
577
  # Subtest: testing a single passing ts file with --browser works, console output supressed
578
578
  ok 7 - testing a single passing ts file with --browser works, console output supressed
579
579
  ---
580
- duration_ms: 1878.394995
580
+ duration_ms: 1757.089733
581
581
  ...
582
582
  # Trace:
583
583
  # TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
584
584
  # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
585
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [203ms]
585
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [176ms]
586
586
  # 1: \# QUnitX running: http://localhost:1234/
587
587
  # 2: \# [HTTPServer] GET /favicon.ico
588
588
  # 3: TAP version 13
589
589
  # 4: calling assert true test case
590
- # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
590
+ # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
591
591
  # 6: resolving async test
592
- # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (61 ms)
592
+ # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
593
593
  # 8: calling deepEqual test case
594
594
  # 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
595
595
  # 10: {
@@ -603,7 +603,7 @@ ok 6 - File and Folder Combination Tests
603
603
  # 18: \# pass 3
604
604
  # 19: \# skip 0
605
605
  # 20: \# fail 0
606
- # 21: \# duration 602
606
+ # 21: \# duration 744
607
607
  # 22:
608
608
  # 23: \# HTTPServer [Server]: stopped successfully
609
609
  # 24:
@@ -616,7 +616,7 @@ ok 6 - File and Folder Combination Tests
616
616
  # Subtest: testing a single passing ts file with --browser --debug works
617
617
  ok 8 - testing a single passing ts file with --browser --debug works
618
618
  ---
619
- duration_ms: 1729.701753
619
+ duration_ms: 1743.492305
620
620
  ...
621
621
  # Trace:
622
622
  # ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
@@ -632,7 +632,7 @@ ok 6 - File and Folder Combination Tests
632
632
  # Subtest: testing a single failing ts with --browser file works
633
633
  ok 9 - testing a single failing ts with --browser file works
634
634
  ---
635
- duration_ms: 1671.90492
635
+ duration_ms: 1762.674829
636
636
  ...
637
637
  # Trace:
638
638
  # ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
@@ -648,41 +648,41 @@ ok 6 - File and Folder Combination Tests
648
648
  # Subtest: testing a single failing ts file with --browser --debug works
649
649
  ok 10 - testing a single failing ts file with --browser --debug works
650
650
  ---
651
- duration_ms: 1689.26707
651
+ duration_ms: 1788.487265
652
652
  ...
653
653
  1..10
654
654
  ok 7 - File Input Tests
655
655
  ---
656
- duration_ms: 15912.483509
656
+ duration_ms: 17081.442029
657
657
  type: 'suite'
658
658
  ...
659
659
  # Trace:
660
660
  # TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
661
- # TEST COMMAND: node cli.js tmp/be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1
662
- # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1/second-module-pass.js
661
+ # TEST COMMAND: node cli.js tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250
662
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250/second-module-pass.js
663
663
  # 1: TAP version 13
664
664
  # 2: calling assert true test case
665
- # 3: ok 1 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | first-module-pass Passing Tests | assert true works \# (1 ms)
665
+ # 3: ok 1 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | assert true works \# (1 ms)
666
666
  # 4: resolving async test
667
667
  # 5: {
668
668
  # 6: moduleName: 'called resolved async test with object',
669
669
  # 7: placeholder: 1000,
670
670
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
671
671
  # 9: }
672
- # 10: ok 2 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | first-module-pass Passing Tests | async test finishes \# (57 ms)
672
+ # 10: ok 2 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | async test finishes \# (56 ms)
673
673
  # 11: calling deepEqual test case
674
- # 12: ok 3 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
674
+ # 12: ok 3 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
675
675
  # 13: calling assert true test case
676
- # 14: ok 4 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | second-module-pass Passing Tests | assert true works \# (0 ms)
676
+ # 14: ok 4 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | assert true works \# (0 ms)
677
677
  # 15: resolving async test
678
678
  # 16: {
679
679
  # 17: moduleName: 'called resolved async test with object',
680
680
  # 18: placeholder: 1000,
681
681
  # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
682
682
  # 20: }
683
- # 21: ok 5 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | second-module-pass Passing Tests | async test finishes \# (53 ms)
683
+ # 21: ok 5 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | async test finishes \# (54 ms)
684
684
  # 22: calling deepEqual test case
685
- # 23: ok 6 be796cd0-e415-4bfd-b8dc-a5ef8aa5e3c1 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
685
+ # 23: ok 6 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
686
686
  # 24:
687
687
  # 25: 1
688
688
  # 26: \# tests 6
@@ -705,12 +705,12 @@ ok 7 - File Input Tests
705
705
  # Subtest: works for a single folder input with all passing tests
706
706
  ok 1 - works for a single folder input with all passing tests
707
707
  ---
708
- duration_ms: 758.839476
708
+ duration_ms: 728.166514
709
709
  ...
710
710
  # Trace:
711
711
  # ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
712
- # ERROR TEST COMMAND: node cli.js tmp/2e8b0750-f910-46c7-aedf-ddcc32dbc4b6
713
- # Error: Command failed: node cli.js tmp/2e8b0750-f910-46c7-aedf-ddcc32dbc4b6
712
+ # ERROR TEST COMMAND: node cli.js tmp/a3d8fe24-ff87-4428-8a78-3e7ddfee9139
713
+ # Error: Command failed: node cli.js tmp/a3d8fe24-ff87-4428-8a78-3e7ddfee9139
714
714
  #
715
715
  #
716
716
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -722,64 +722,64 @@ ok 7 - File Input Tests
722
722
  # Subtest: works for a single folder input with few failing tests
723
723
  ok 2 - works for a single folder input with few failing tests
724
724
  ---
725
- duration_ms: 950.991986
725
+ duration_ms: 888.419999
726
726
  ...
727
727
  # Trace:
728
728
  # TEST NAME: Folder Input Tests |
729
- # TEST COMMAND: node cli.js tmp/8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 tmp/144d0c65-96f0-491e-8b09-5c347f2d483a
730
- # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/8d1555c1-ad46-4e9a-9c20-0ca9548fdc78/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/8d1555c1-ad46-4e9a-9c20-0ca9548fdc78/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/144d0c65-96f0-491e-8b09-5c347f2d483a/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/144d0c65-96f0-491e-8b09-5c347f2d483a/second-module-pass.js
729
+ # TEST COMMAND: node cli.js tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9 tmp/11761ee0-377f-43b9-acba-5ef9cdc17550
730
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/11761ee0-377f-43b9-acba-5ef9cdc17550/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/11761ee0-377f-43b9-acba-5ef9cdc17550/second-module-pass.js
731
731
  # 1: TAP version 13
732
732
  # 2: calling assert true test case
733
- # 3: ok 1 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | first-module-pass Passing Tests | assert true works \# (1 ms)
733
+ # 3: ok 1 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | assert true works \# (0 ms)
734
734
  # 4: resolving async test
735
735
  # 5: {
736
736
  # 6: moduleName: 'called resolved async test with object',
737
737
  # 7: placeholder: 1000,
738
738
  # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
739
739
  # 9: }
740
- # 10: ok 2 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | first-module-pass Passing Tests | async test finishes \# (61 ms)
740
+ # 10: ok 2 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | async test finishes \# (54 ms)
741
741
  # 11: calling deepEqual test case
742
- # 12: ok 3 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
742
+ # 12: ok 3 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
743
743
  # 13: calling assert true test case
744
- # 14: ok 4 144d0c65-96f0-491e-8b09-5c347f2d483a | first-module-pass Passing Tests | assert true works \# (1 ms)
744
+ # 14: ok 4 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | assert true works \# (0 ms)
745
745
  # 15: resolving async test
746
746
  # 16: {
747
747
  # 17: moduleName: 'called resolved async test with object',
748
748
  # 18: placeholder: 1000,
749
749
  # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
750
750
  # 20: }
751
- # 21: ok 5 144d0c65-96f0-491e-8b09-5c347f2d483a | first-module-pass Passing Tests | async test finishes \# (53 ms)
751
+ # 21: ok 5 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | async test finishes \# (54 ms)
752
752
  # 22: calling deepEqual test case
753
- # 23: ok 6 144d0c65-96f0-491e-8b09-5c347f2d483a | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
753
+ # 23: ok 6 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
754
754
  # 24: calling assert true test case
755
- # 25: ok 7 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | second-module-pass Passing Tests | assert true works \# (1 ms)
755
+ # 25: ok 7 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | assert true works \# (0 ms)
756
756
  # 26: resolving async test
757
757
  # 27: {
758
758
  # 28: moduleName: 'called resolved async test with object',
759
759
  # 29: placeholder: 1000,
760
760
  # 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
761
761
  # 31: }
762
- # 32: ok 8 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | second-module-pass Passing Tests | async test finishes \# (54 ms)
762
+ # 32: ok 8 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | async test finishes \# (55 ms)
763
763
  # 33: calling deepEqual test case
764
- # 34: ok 9 8d1555c1-ad46-4e9a-9c20-0ca9548fdc78 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
764
+ # 34: ok 9 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
765
765
  # 35: calling assert true test case
766
- # 36: ok 10 144d0c65-96f0-491e-8b09-5c347f2d483a | second-module-pass Passing Tests | assert true works \# (1 ms)
766
+ # 36: ok 10 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | assert true works \# (0 ms)
767
767
  # 37: resolving async test
768
768
  # 38: {
769
769
  # 39: moduleName: 'called resolved async test with object',
770
770
  # 40: placeholder: 1000,
771
771
  # 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
772
772
  # 42: }
773
- # 43: ok 11 144d0c65-96f0-491e-8b09-5c347f2d483a | second-module-pass Passing Tests | async test finishes \# (54 ms)
773
+ # 43: ok 11 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | async test finishes \# (54 ms)
774
774
  # 44: calling deepEqual test case
775
- # 45: ok 12 144d0c65-96f0-491e-8b09-5c347f2d483a | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
775
+ # 45: ok 12 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
776
776
  # 46:
777
777
  # 47: 1
778
778
  # 48: \# tests 12
779
779
  # 49: \# pass 12
780
780
  # 50: \# skip 0
781
781
  # 51: \# fail 0
782
- # 52: \# duration 234
782
+ # 52: \# duration 228
783
783
  # 53:
784
784
  # 54:
785
785
  #
@@ -792,12 +792,12 @@ ok 7 - File Input Tests
792
792
  # Subtest: works for a multiple folders input with all passing tests
793
793
  ok 3 - works for a multiple folders input with all passing tests
794
794
  ---
795
- duration_ms: 888.186893
795
+ duration_ms: 847.449337
796
796
  ...
797
797
  # Trace:
798
798
  # ERROR TEST Name: Folder Input Tests |
799
- # ERROR TEST COMMAND: node cli.js tmp/86154c58-24ea-4bbb-91bd-840868a7c565 tmp/f378836b-3307-4254-bd7a-f7d6bbd77c23
800
- # Error: Command failed: node cli.js tmp/86154c58-24ea-4bbb-91bd-840868a7c565 tmp/f378836b-3307-4254-bd7a-f7d6bbd77c23
799
+ # ERROR TEST COMMAND: node cli.js tmp/c144f085-bcac-40d9-a4a5-78eaf5236c80 tmp/f86f49ff-413c-44c9-9f8a-c26a59fc9ab9
800
+ # Error: Command failed: node cli.js tmp/c144f085-bcac-40d9-a4a5-78eaf5236c80 tmp/f86f49ff-413c-44c9-9f8a-c26a59fc9ab9
801
801
  #
802
802
  #
803
803
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -809,26 +809,26 @@ ok 7 - File Input Tests
809
809
  # Subtest: works for a multiple folders input with few failing tests
810
810
  ok 4 - works for a multiple folders input with few failing tests
811
811
  ---
812
- duration_ms: 1099.78897
812
+ duration_ms: 1020.857538
813
813
  ...
814
814
  # Trace:
815
815
  # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with all passing tests
816
- # TEST COMMAND: node cli.js tmp/5869a39d-d6e4-4fce-944b-e58eb82868be --browser
816
+ # TEST COMMAND: node cli.js tmp/4a3c0ffa-39b4-45c3-963b-acb6c3560297 --browser
817
817
  # 0: \# QUnitX running: http://localhost:1234/
818
818
  # 1: TAP version 13
819
- # 2: ok 1 5869a39d-d6e4-4fce-944b-e58eb82868be | first-module-pass Passing Tests | assert true works \# (2 ms)
820
- # 3: ok 2 5869a39d-d6e4-4fce-944b-e58eb82868be | first-module-pass Passing Tests | async test finishes \# (56 ms)
821
- # 4: ok 3 5869a39d-d6e4-4fce-944b-e58eb82868be | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
822
- # 5: ok 4 5869a39d-d6e4-4fce-944b-e58eb82868be | second-module-pass Passing Tests | assert true works \# (0 ms)
823
- # 6: ok 5 5869a39d-d6e4-4fce-944b-e58eb82868be | second-module-pass Passing Tests | async test finishes \# (54 ms)
824
- # 7: ok 6 5869a39d-d6e4-4fce-944b-e58eb82868be | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
819
+ # 2: ok 1 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | assert true works \# (1 ms)
820
+ # 3: ok 2 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | async test finishes \# (62 ms)
821
+ # 4: ok 3 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
822
+ # 5: ok 4 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | assert true works \# (0 ms)
823
+ # 6: ok 5 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | async test finishes \# (53 ms)
824
+ # 7: ok 6 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
825
825
  # 8:
826
826
  # 9: 1
827
827
  # 10: \# tests 6
828
828
  # 11: \# pass 6
829
829
  # 12: \# skip 0
830
830
  # 13: \# fail 0
831
- # 14: \# duration 768
831
+ # 14: \# duration 785
832
832
  # 15:
833
833
  # 16:
834
834
  #
@@ -840,12 +840,12 @@ ok 7 - File Input Tests
840
840
  # Subtest: works for a single folder input in browser mode with all passing tests
841
841
  ok 5 - works for a single folder input in browser mode with all passing tests
842
842
  ---
843
- duration_ms: 1724.256193
843
+ duration_ms: 1723.642066
844
844
  ...
845
845
  # Trace:
846
846
  # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with few failing tests
847
- # ERROR TEST COMMAND: node cli.js tmp/f93036fe-178c-4b1d-ad73-9feee4054974 --browser
848
- # Error: Command failed: node cli.js tmp/f93036fe-178c-4b1d-ad73-9feee4054974 --browser
847
+ # ERROR TEST COMMAND: node cli.js tmp/c51b9a64-8eba-47db-b5e3-161d8360579e --browser
848
+ # Error: Command failed: node cli.js tmp/c51b9a64-8eba-47db-b5e3-161d8360579e --browser
849
849
  #
850
850
  #
851
851
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -856,32 +856,32 @@ ok 7 - File Input Tests
856
856
  # Subtest: works for a single folder input in browser mode with few failing tests
857
857
  ok 6 - works for a single folder input in browser mode with few failing tests
858
858
  ---
859
- duration_ms: 1914.83251
859
+ duration_ms: 1822.33266
860
860
  ...
861
861
  # Trace:
862
862
  # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with all passing tests
863
- # TEST COMMAND: node cli.js tmp/eacc510a-3b59-4b96-94f3-2cc5f5dcf48d tmp/54f6c824-0778-43c6-b954-9348db17e455 --browser
863
+ # TEST COMMAND: node cli.js tmp/d746f0cc-80da-436d-8e5f-fc654153fd06 tmp/289bae8d-2181-43f4-b350-2478662d6b33 --browser
864
864
  # 0: \# QUnitX running: http://localhost:1234/
865
865
  # 1: TAP version 13
866
- # 2: ok 1 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | first-module-pass Passing Tests | assert true works \# (4 ms)
867
- # 3: ok 2 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | first-module-pass Passing Tests | async test finishes \# (57 ms)
868
- # 4: ok 3 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
869
- # 5: ok 4 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | second-module-pass Passing Tests | assert true works \# (1 ms)
870
- # 6: ok 5 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | second-module-pass Passing Tests | async test finishes \# (53 ms)
871
- # 7: ok 6 eacc510a-3b59-4b96-94f3-2cc5f5dcf48d | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
872
- # 8: ok 7 54f6c824-0778-43c6-b954-9348db17e455 | first-module-pass Passing Tests | assert true works \# (1 ms)
873
- # 9: ok 8 54f6c824-0778-43c6-b954-9348db17e455 | first-module-pass Passing Tests | async test finishes \# (62 ms)
874
- # 10: ok 9 54f6c824-0778-43c6-b954-9348db17e455 | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
875
- # 11: ok 10 54f6c824-0778-43c6-b954-9348db17e455 | second-module-pass Passing Tests | assert true works \# (1 ms)
876
- # 12: ok 11 54f6c824-0778-43c6-b954-9348db17e455 | second-module-pass Passing Tests | async test finishes \# (60 ms)
877
- # 13: ok 12 54f6c824-0778-43c6-b954-9348db17e455 | second-module-pass Passing Tests | deepEqual true works \# (2 ms)
866
+ # 2: ok 1 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | assert true works \# (1 ms)
867
+ # 3: ok 2 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | async test finishes \# (55 ms)
868
+ # 4: ok 3 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
869
+ # 5: ok 4 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | assert true works \# (1 ms)
870
+ # 6: ok 5 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | async test finishes \# (54 ms)
871
+ # 7: ok 6 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
872
+ # 8: ok 7 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | assert true works \# (1 ms)
873
+ # 9: ok 8 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | async test finishes \# (59 ms)
874
+ # 10: ok 9 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
875
+ # 11: ok 10 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | assert true works \# (1 ms)
876
+ # 12: ok 11 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | async test finishes \# (58 ms)
877
+ # 13: ok 12 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
878
878
  # 14:
879
879
  # 15: 1
880
880
  # 16: \# tests 12
881
881
  # 17: \# pass 12
882
882
  # 18: \# skip 0
883
883
  # 19: \# fail 0
884
- # 20: \# duration 922
884
+ # 20: \# duration 936
885
885
  # 21:
886
886
  # 22:
887
887
  #
@@ -893,12 +893,12 @@ ok 7 - File Input Tests
893
893
  # Subtest: works for a multiple folders input in browser mode with all passing tests
894
894
  ok 7 - works for a multiple folders input in browser mode with all passing tests
895
895
  ---
896
- duration_ms: 1849.539672
896
+ duration_ms: 1784.745579
897
897
  ...
898
898
  # Trace:
899
899
  # ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with few failing tests
900
- # ERROR TEST COMMAND: node cli.js tmp/dcb129e2-b4e2-41e1-bf41-bd979d558a9f tmp/7c44d2b1-363a-4bf0-b1c0-f9344bb44c29 --browser
901
- # Error: Command failed: node cli.js tmp/dcb129e2-b4e2-41e1-bf41-bd979d558a9f tmp/7c44d2b1-363a-4bf0-b1c0-f9344bb44c29 --browser
900
+ # ERROR TEST COMMAND: node cli.js tmp/0468efb2-c70c-493c-b39c-9e27005f82af tmp/a1c10ff6-01d1-4a08-afac-925e1b7b3aa1 --browser
901
+ # Error: Command failed: node cli.js tmp/0468efb2-c70c-493c-b39c-9e27005f82af tmp/a1c10ff6-01d1-4a08-afac-925e1b7b3aa1 --browser
902
902
  #
903
903
  #
904
904
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -909,31 +909,31 @@ ok 7 - File Input Tests
909
909
  # Subtest: works for a multiple folders input in browser mode with few failing tests
910
910
  ok 8 - works for a multiple folders input in browser mode with few failing tests
911
911
  ---
912
- duration_ms: 3087.106076
912
+ duration_ms: 1979.388401
913
913
  ...
914
914
  # Trace:
915
915
  # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with debug and all passing tests
916
- # TEST COMMAND: node cli.js tmp/ac8e1db4-38b9-4836-83e8-1581aaec1d90 --browser --debug
917
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [181ms]
916
+ # TEST COMMAND: node cli.js tmp/d4ab63d9-c850-41eb-aa53-6ca4cfe682bd --browser --debug
917
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [161ms]
918
918
  # 1: \# QUnitX running: http://localhost:1234/
919
919
  # 2: \# [HTTPServer] GET /favicon.ico
920
920
  # 3: TAP version 13
921
921
  # 4: calling assert true test case
922
- # 5: ok 1 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | first-module-pass Passing Tests | assert true works \# (1 ms)
922
+ # 5: ok 1 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | assert true works \# (1 ms)
923
923
  # 6: resolving async test
924
- # 7: calling deepEqual test case
925
- # 8: ok 2 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | first-module-pass Passing Tests | async test finishes \# (64 ms)
926
- # 9: ok 3 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
924
+ # 7: ok 2 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | async test finishes \# (52 ms)
925
+ # 8: calling deepEqual test case
926
+ # 9: ok 3 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
927
927
  # 10: calling assert true test case
928
- # 11: ok 4 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | second-module-pass Passing Tests | assert true works \# (1 ms)
928
+ # 11: ok 4 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | assert true works \# (0 ms)
929
929
  # 12: {
930
930
  # 13: moduleName: 'called resolved async test with object',
931
931
  # 14: placeholder: 1000,
932
932
  # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
933
933
  # 16: }
934
934
  # 17: resolving async test
935
- # 18: ok 5 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | second-module-pass Passing Tests | async test finishes \# (60 ms)
936
- # 19: ok 6 ac8e1db4-38b9-4836-83e8-1581aaec1d90 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
935
+ # 18: ok 5 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | async test finishes \# (59 ms)
936
+ # 19: ok 6 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
937
937
  # 20: calling deepEqual test case
938
938
  # 21: {
939
939
  # 22: moduleName: 'called resolved async test with object',
@@ -946,7 +946,7 @@ ok 7 - File Input Tests
946
946
  # 29: \# pass 6
947
947
  # 30: \# skip 0
948
948
  # 31: \# fail 0
949
- # 32: \# duration 1267
949
+ # 32: \# duration 790
950
950
  # 33:
951
951
  # 34: \# HTTPServer [Server]: stopped successfully
952
952
  # 35:
@@ -959,12 +959,12 @@ ok 7 - File Input Tests
959
959
  # Subtest: works for a single folder input in browser mode with debug and all passing tests
960
960
  ok 9 - works for a single folder input in browser mode with debug and all passing tests
961
961
  ---
962
- duration_ms: 2110.819749
962
+ duration_ms: 1681.322725
963
963
  ...
964
964
  # Trace:
965
965
  # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with debug and few failing tests
966
- # ERROR TEST COMMAND: node cli.js tmp/d64032a5-1d2d-4477-a080-7b3d28be279a --browser --debug
967
- # Error: Command failed: node cli.js tmp/d64032a5-1d2d-4477-a080-7b3d28be279a --browser --debug
966
+ # ERROR TEST COMMAND: node cli.js tmp/916d7edf-bc81-4fb1-828f-871678b418a3 --browser --debug
967
+ # Error: Command failed: node cli.js tmp/916d7edf-bc81-4fb1-828f-871678b418a3 --browser --debug
968
968
  #
969
969
  #
970
970
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -975,34 +975,34 @@ ok 7 - File Input Tests
975
975
  # Subtest: works for a single folder input in browser mode with debug and few failing tests
976
976
  ok 10 - works for a single folder input in browser mode with debug and few failing tests
977
977
  ---
978
- duration_ms: 1938.678416
978
+ duration_ms: 1888.005381
979
979
  ...
980
980
  # Trace:
981
981
  # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with debug and all passing tests
982
- # TEST COMMAND: node cli.js tmp/9df9b7d2-b08c-4ed0-943d-7e4a706defbe tmp/0001f6cd-4111-49b9-8149-3dbfd818c567 --browser --debug
983
- # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [202ms]
982
+ # TEST COMMAND: node cli.js tmp/132dd701-b689-4081-bc2a-541dd41ede83 tmp/d5c3f2fb-f86b-4242-9753-3f815cd48403 --browser --debug
983
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [186ms]
984
984
  # 1: \# QUnitX running: http://localhost:1234/
985
985
  # 2: \# [HTTPServer] GET /favicon.ico
986
986
  # 3: TAP version 13
987
987
  # 4: calling assert true test case
988
- # 5: ok 1 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | first-module-pass Passing Tests | assert true works \# (2 ms)
988
+ # 5: ok 1 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | assert true works \# (1 ms)
989
989
  # 6: resolving async test
990
- # 7: ok 2 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | first-module-pass Passing Tests | async test finishes \# (52 ms)
990
+ # 7: ok 2 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | async test finishes \# (64 ms)
991
991
  # 8: calling deepEqual test case
992
- # 9: ok 3 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
992
+ # 9: ok 3 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
993
993
  # 10: calling assert true test case
994
- # 11: ok 4 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | second-module-pass Passing Tests | assert true works \# (1 ms)
994
+ # 11: ok 4 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | assert true works \# (0 ms)
995
995
  # 12: {
996
996
  # 13: moduleName: 'called resolved async test with object',
997
997
  # 14: placeholder: 1000,
998
998
  # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
999
999
  # 16: }
1000
1000
  # 17: resolving async test
1001
- # 18: ok 5 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | second-module-pass Passing Tests | async test finishes \# (58 ms)
1001
+ # 18: ok 5 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | async test finishes \# (63 ms)
1002
1002
  # 19: calling deepEqual test case
1003
- # 20: ok 6 9df9b7d2-b08c-4ed0-943d-7e4a706defbe | second-module-pass Passing Tests | deepEqual true works \# (2 ms)
1003
+ # 20: ok 6 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1004
1004
  # 21: calling assert true test case
1005
- # 22: ok 7 0001f6cd-4111-49b9-8149-3dbfd818c567 | first-module-pass Passing Tests | assert true works \# (2 ms)
1005
+ # 22: ok 7 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | assert true works \# (1 ms)
1006
1006
  # 23: {
1007
1007
  # 24: moduleName: 'called resolved async test with object',
1008
1008
  # 25: placeholder: 1000,
@@ -1010,19 +1010,19 @@ ok 7 - File Input Tests
1010
1010
  # 27: }
1011
1011
  # 28: resolving async test
1012
1012
  # 29: calling deepEqual test case
1013
- # 30: ok 8 0001f6cd-4111-49b9-8149-3dbfd818c567 | first-module-pass Passing Tests | async test finishes \# (58 ms)
1014
- # 31: ok 9 0001f6cd-4111-49b9-8149-3dbfd818c567 | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
1013
+ # 30: ok 8 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | async test finishes \# (58 ms)
1014
+ # 31: ok 9 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1015
1015
  # 32: calling assert true test case
1016
- # 33: ok 10 0001f6cd-4111-49b9-8149-3dbfd818c567 | second-module-pass Passing Tests | assert true works \# (2 ms)
1016
+ # 33: ok 10 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | assert true works \# (1 ms)
1017
1017
  # 34: {
1018
1018
  # 35: moduleName: 'called resolved async test with object',
1019
1019
  # 36: placeholder: 1000,
1020
1020
  # 37: anotherObject: { firstName: 'Izel', createdAt: {} }
1021
1021
  # 38: }
1022
1022
  # 39: resolving async test
1023
- # 40: ok 11 0001f6cd-4111-49b9-8149-3dbfd818c567 | second-module-pass Passing Tests | async test finishes \# (58 ms)
1023
+ # 40: ok 11 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | async test finishes \# (58 ms)
1024
1024
  # 41: calling deepEqual test case
1025
- # 42: ok 12 0001f6cd-4111-49b9-8149-3dbfd818c567 | second-module-pass Passing Tests | deepEqual true works \# (3 ms)
1025
+ # 42: ok 12 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1026
1026
  # 43: {
1027
1027
  # 44: moduleName: 'called resolved async test with object',
1028
1028
  # 45: placeholder: 1000,
@@ -1034,13 +1034,12 @@ ok 7 - File Input Tests
1034
1034
  # 51: \# pass 12
1035
1035
  # 52: \# skip 0
1036
1036
  # 53: \# fail 0
1037
- # 54: \# duration 841
1037
+ # 54: \# duration 835
1038
1038
  # 55:
1039
1039
  # 56: \# HTTPServer [Server]: stopped successfully
1040
1040
  # 57:
1041
1041
  #
1042
1042
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
1043
- # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
1044
1043
  # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:161:24
1045
1044
  # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1046
1045
  # at async Test.run (node:internal/test_runner/test:569:9)
@@ -1048,12 +1047,12 @@ ok 7 - File Input Tests
1048
1047
  # Subtest: works for a multiple folders input in browser mode with debug and all passing tests
1049
1048
  ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
1050
1049
  ---
1051
- duration_ms: 1769.424883
1050
+ duration_ms: 1677.753469
1052
1051
  ...
1053
1052
  # Trace:
1054
1053
  # ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with debug and few failing tests
1055
- # ERROR TEST COMMAND: node cli.js tmp/0208ee5c-5893-463e-84d1-a596675d6756 tmp/88e4ab24-43ff-4e53-8aca-fbe2cbf98397 --browser --debug
1056
- # Error: Command failed: node cli.js tmp/0208ee5c-5893-463e-84d1-a596675d6756 tmp/88e4ab24-43ff-4e53-8aca-fbe2cbf98397 --browser --debug
1054
+ # ERROR TEST COMMAND: node cli.js tmp/8eda304b-9d3a-4b11-9fe4-15569030bff3 tmp/6e9c29ea-7f79-408c-bde0-63eb8c266f78 --browser --debug
1055
+ # Error: Command failed: node cli.js tmp/8eda304b-9d3a-4b11-9fe4-15569030bff3 tmp/6e9c29ea-7f79-408c-bde0-63eb8c266f78 --browser --debug
1057
1056
  #
1058
1057
  #
1059
1058
  # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
@@ -1064,24 +1063,24 @@ ok 7 - File Input Tests
1064
1063
  # Subtest: works for a multiple folders input in browser mode with debug and few failing tests
1065
1064
  ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
1066
1065
  ---
1067
- duration_ms: 2748.899619
1066
+ duration_ms: 1920.623096
1068
1067
  ...
1069
1068
  1..12
1070
1069
  ok 8 - Folder Input Tests
1071
1070
  ---
1072
- duration_ms: 20843.374384
1071
+ duration_ms: 17964.667364
1073
1072
  type: 'suite'
1074
1073
  ...
1075
1074
  # Subtest: Setup | glob(*) input tests | test-file-paths tests
1076
1075
  # Subtest: setupTestFilePaths() works correctly on different inputs
1077
1076
  ok 1 - setupTestFilePaths() works correctly on different inputs
1078
1077
  ---
1079
- duration_ms: 18.520909
1078
+ duration_ms: 12.872859
1080
1079
  ...
1081
1080
  1..1
1082
1081
  ok 9 - Setup | glob(*) input tests | test-file-paths tests
1083
1082
  ---
1084
- duration_ms: 21.955897
1083
+ duration_ms: 15.453516
1085
1084
  type: 'suite'
1086
1085
  ...
1087
1086
  1..9
@@ -1092,4 +1091,4 @@ ok 9 - Setup | glob(*) input tests | test-file-paths tests
1092
1091
  # cancelled 0
1093
1092
  # skipped 0
1094
1093
  # todo 0
1095
- # duration_ms 37045.898117
1094
+ # duration_ms 35198.146882