qunitx 0.4.0 → 0.4.1

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.
@@ -119,7 +119,9 @@ function buildFilteredTests(filteredTests, outputPath) {
119
119
 
120
120
  async function runTestInsideHTMLFile(filePath, { page, server }, config) {
121
121
  let QUNIT_RESULT;
122
+ let targetError;
122
123
  try {
124
+ await wait(350);
123
125
  console.log('#', kleur.blue(`QUnitX running: http://localhost:${server.config.port}${filePath}`));
124
126
  await page.goto(`http://localhost:${server.config.port}${filePath}`, { timeout: 0 });
125
127
  await page.evaluate(() => {
@@ -129,16 +131,19 @@ async function runTestInsideHTMLFile(filePath, { page, server }, config) {
129
131
 
130
132
  QUNIT_RESULT = await page.evaluate(() => window.QUNIT_RESULT);
131
133
  } catch(error) {
134
+ targetError = error;
132
135
  console.log(error);
133
136
  console.error(error);
134
137
  }
135
138
 
136
139
  if (!QUNIT_RESULT || QUNIT_RESULT.totalTests === 0) {
140
+ console.log(targetError);
137
141
  console.log('BROWSER: runtime error thrown during executing tests');
138
142
  console.error('BROWSER: runtime error thrown during executing tests');
139
143
 
140
144
  await failOnNonWatchMode(config.watch);
141
145
  } else if (QUNIT_RESULT.totalTests > QUNIT_RESULT.finishedTests) {
146
+ console.log(targetError);
142
147
  console.log(`BROWSER: TEST TIMED OUT: ${QUNIT_RESULT.currentTest}`);
143
148
  console.error(`BROWSER: TEST TIMED OUT: ${QUNIT_RESULT.currentTest}`);
144
149
 
@@ -151,3 +156,7 @@ async function failOnNonWatchMode(watchMode = false) {
151
156
  await new Promise((resolve, reject) => setTimeout(() => resolve(process.exit(1)), 100));
152
157
  }
153
158
  }
159
+
160
+ function wait(duration) {
161
+ return new Promise((resolve) => setTimeout(() => { resolve() }, duration));
162
+ }
@@ -194,14 +194,29 @@ function testRuntimeToInject(port, config) {
194
194
  });
195
195
  window.QUnit.done((details) => {
196
196
  if (window.IS_PUPPETEER) {
197
- window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }));
197
+ window.setTimeout(() => {
198
+ window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }))
199
+ }, 50);
198
200
  }
199
201
  window.setTimeout(() => {
200
202
  window.testTimeout = ${config.timeout};
201
203
  }, 75);
202
204
  });
203
205
 
204
- window.setTimeout(() => window.QUnit.start(), 10);
206
+ if ([1, 3].includes(window.socket.readyState)) {
207
+ return window.setTimeout(() => window.QUnit.start(), 10);
208
+ } else {
209
+ let connectionTrialCount = 0;
210
+ let connectionInterval = window.setInterval(() => {
211
+ if ([1, 3].includes(window.socket.readyState) || connectionTrialCount > 10) {
212
+ window.clearInterval(connectionInterval);
213
+
214
+ return window.setTimeout(() => window.QUnit.start(), 10);
215
+ }
216
+
217
+ connectionTrialCount = connectionTrialCount + 1;
218
+ }, 10);
219
+ }
205
220
  }
206
221
 
207
222
  setupQUnit();
package/lol.js ADDED
@@ -0,0 +1,4 @@
1
+ import fs from 'node:fs/promises';
2
+
3
+ console.log(await fs.lstat('./test-output.log'));
4
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qunitx",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "Experimental improvements, suggestions for qunit CLI",
6
6
  "author": "Izel Nakri",
7
7
  "license": "MIT",
@@ -9,6 +9,9 @@
9
9
  "qunit",
10
10
  "qunit-plugin"
11
11
  ],
12
+ "engines": {
13
+ "node": ">=20.1.0"
14
+ },
12
15
  "main": "index.js",
13
16
  "bin": {
14
17
  "qunitx": "cli.js"
@@ -28,7 +31,7 @@
28
31
  "release:alpha": "node_modules/.bin/release-it --preRelease=alpha --no-git.requireUpstream",
29
32
  "release:beta": "node_modules/.bin/release-it --preRelease=beta --no-git.requireUpstream",
30
33
  "release": "node_modules/.bin/release-it",
31
- "test": "node --test test/index.js",
34
+ "test": "node --test test/index.js | tee test-output.log",
32
35
  "test:old": "node_modules/.bin/mocha --require test/setup.js --bail --exit --check-leaks test/inputs test/commands test/flags/after-test.js test/flags/before-test.js -t=20000",
33
36
  "test:sanity-first": "./cli.js test/helpers/failing-tests.js test/helpers/failing-tests.ts",
34
37
  "test:sanity-second": "./cli.js test/helpers/passing-tests.js test/helpers/passing-tests.ts"
@@ -9,7 +9,9 @@ export default {
9
9
  false: assert.false,
10
10
  notDeepEqual: assert.notDeepStrictEqual,
11
11
  notEqual: assert.notEqual,
12
- notOk: assert.notOk,
12
+ notOk(state, message) {
13
+ return assert.ok(!state, message);
14
+ },
13
15
  notPropContains: assert.notPropContains,
14
16
  notPropEqual: assert.notPropEqual,
15
17
  notStrictEqual: assert.notStrictEqual,
package/shims/nodejs.js CHANGED
@@ -1,44 +1,34 @@
1
1
  import { run, describe, it, before, after, beforeEach, afterEach } from 'node:test';
2
2
  import assert from './nodejs-assert.js';
3
3
 
4
- export const module = async function(moduleName, _hooks, moduleContent) {
5
- let targetModuleContent = moduleContent ? moduleContent : _hooks;
6
- let targetHooks = moduleContent ? _hooks : undefined;
4
+ export const module = async function(moduleName, runtimeOptions, moduleContent) {
5
+ let targetRuntimeOptions = moduleContent ? runtimeOptions : {};
6
+ let targetModuleContent = moduleContent ? moduleContent : runtimeOptions;
7
7
 
8
- const hooks = targetHooks || { before: undefined, after: undefined, beforeEach: undefined, afterEach: undefined};
9
- const { before: _before, after: _after, beforeEach: _beforeEach, afterEach: _afterEach } = hooks;
10
-
11
- // NOTE: add { concurrency: true }
12
- return describe(moduleName, async function() {
13
- if (_before) {
14
- before(_before);
15
- }
16
-
17
- if (_after) {
18
- after(_after);
19
- }
20
-
21
- if (_beforeEach) {
22
- beforeEach(_beforeEach);
23
- }
24
-
25
- if (_afterEach) {
26
- afterEach(_afterEach);
27
- }
28
-
29
- return await targetModuleContent(hooks);
8
+ return describe(moduleName, assignDefaultValues(targetRuntimeOptions, { concurrency: true }), async function() {
9
+ return await targetModuleContent({ before, after, beforeEach, afterEach }, {
10
+ moduleName,
11
+ options: runtimeOptions
12
+ });
30
13
  });
31
14
  }
32
15
 
33
- export const test = async function(testName, testContent) {
34
- // return it(testName, { concurrency: true }, async function() {
35
- // NOTE: also add timeout here!! then changable when QUnit implemented correctly
36
- // NOTE: add { concurrency: true }
37
- return it(testName, async function() {
38
- return await testContent(assert);
16
+ export const test = async function(testName, runtimeOptions, testContent) {
17
+ let targetRuntimeOptions = testContent ? runtimeOptions : {};
18
+ let targetTestContent = testContent ? testContent : runtimeOptions;
19
+
20
+ return it(testName, assignDefaultValues(targetRuntimeOptions, { concurrency: true }), async function() {
21
+ return await targetTestContent(assert, { testName, options: runtimeOptions });
39
22
  });
40
23
  }
41
24
 
25
+ function assignDefaultValues(options, defaultValues) {
26
+ for (let key in defaultValues) {
27
+ if (options[key] === undefined) {
28
+ options[key] = defaultValues[key];
29
+ }
30
+ }
31
+ }
42
32
 
43
33
  // NOTE: later maybe expose these as well:
44
34
 
@@ -0,0 +1,1095 @@
1
+ TAP version 13
2
+ # [qunitx v0.4.0] Usage: qunitx [targets] --$flags
3
+ # Input options:
4
+ # - File: $ qunitx test/foo.js
5
+ # - Folder: $ qunitx test/login
6
+ # - Globs: $ qunitx test/**/*-test.js
7
+ # - Combination: $ qunitx test/foo.js test/bar.js test/*-test.js test/logout
8
+ # Optional flags:
9
+ # --browser : run qunit tests in chromium with puppeteer instead of node.js(which is the default)
10
+ # --debug : print console output when tests run in browser
11
+ # --watch : run the target file or folders, watch them for continuous run and expose http server under localhost
12
+ # --timeout : change default timeout per test case
13
+ # --output : folder to distribute built qunitx html and js that a webservers can run[default: tmp]
14
+ # --failFast : run the target file or folders with immediate abort if a single test fails
15
+ # --before : run a script before the tests(i.e start a new web server before tests)
16
+ # --after : run a script after the tests(i.e save test results to a file)
17
+ # Example: $ qunitx test/foo.ts app/e2e --browser --debug --watch --before=scripts/start-new-webserver.js --after=scripts/write-test-results.js
18
+ # Commands:
19
+ # $ qunitx init \# Bootstraps qunitx base html and add qunitx config to package.json if needed
20
+ # $ qunitx new $testFileName \# Creates a qunitx test file
21
+ # Subtest: Commands | Help tests
22
+ # Subtest: $ qunitx -> prints help text
23
+ ok 1 - $ qunitx -> prints help text
24
+ ---
25
+ duration_ms: 451.23885
26
+ ...
27
+ # Subtest: $ qunitx print -> prints help text
28
+ ok 2 - $ qunitx print -> prints help text
29
+ ---
30
+ duration_ms: 691.892276
31
+ ...
32
+ # Subtest: $ qunitx p -> prints help text
33
+ ok 3 - $ qunitx p -> prints help text
34
+ ---
35
+ duration_ms: 877.748891
36
+ ...
37
+ # Subtest: $ qunitx help -> prints help text
38
+ ok 4 - $ qunitx help -> prints help text
39
+ ---
40
+ duration_ms: 689.812021
41
+ ...
42
+ # Subtest: $ qunitx h -> prints help text
43
+ ok 5 - $ qunitx h -> prints help text
44
+ ---
45
+ duration_ms: 413.688395
46
+ ...
47
+ 1..5
48
+ ok 1 - Commands | Help tests
49
+ ---
50
+ duration_ms: 3126.643469
51
+ type: 'suite'
52
+ ...
53
+ # Trace:
54
+ # TEST NAME: --after script tests | --after works when it doesnt need to be awaited
55
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-basic.js
56
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
57
+ # 1: TAP version 13
58
+ # 2: calling assert true test case
59
+ # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
60
+ # 4: resolving async test
61
+ # 5: {
62
+ # 6: moduleName: 'called resolved async test with object',
63
+ # 7: placeholder: 1000,
64
+ # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
65
+ # 9: }
66
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
67
+ # 11: calling deepEqual test case
68
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
69
+ # 13:
70
+ # 14: 1
71
+ # 15: \# tests 3
72
+ # 16: \# pass 3
73
+ # 17: \# skip 0
74
+ # 18: \# fail 0
75
+ # 19: \# duration 56
76
+ # 20:
77
+ # 21: This is running from after script!!
78
+ # 22:
79
+ #
80
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
81
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
82
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:7:24
83
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
84
+ # at async Test.run (node:internal/test_runner/test:569:9)
85
+ # at async Promise.all (index 0)
86
+ # at async Suite.run (node:internal/test_runner/test:801:7)
87
+ # at async startSubtest (node:internal/test_runner/harness:203:3)
88
+ # Subtest: --after script tests
89
+ # Subtest: --after works when it doesnt need to be awaited
90
+ ok 1 - --after works when it doesnt need to be awaited
91
+ ---
92
+ duration_ms: 471.690474
93
+ ...
94
+ # Trace:
95
+ # TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
96
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
97
+ # 0: \# QUnitX running: http://localhost:1234/
98
+ # 1: TAP version 13
99
+ # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
100
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (69 ms)
101
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
102
+ # 5:
103
+ # 6: 1
104
+ # 7: \# tests 3
105
+ # 8: \# pass 3
106
+ # 9: \# skip 0
107
+ # 10: \# fail 0
108
+ # 11: \# duration 636
109
+ # 12:
110
+ # 13: This is running from after script!!
111
+ # 14:
112
+ #
113
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
114
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
115
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:15:24
116
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
117
+ # at async Test.run (node:internal/test_runner/test:569:9)
118
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
119
+ # Subtest: --after works for --browser mode when it doesnt need to be awaited
120
+ ok 2 - --after works for --browser mode when it doesnt need to be awaited
121
+ ---
122
+ duration_ms: 2107.195177
123
+ ...
124
+ # Trace:
125
+ # TEST NAME: --after script tests | --after works it needs to be awaited
126
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-async.js
127
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
128
+ # 1: TAP version 13
129
+ # 2: calling assert true test case
130
+ # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (0 ms)
131
+ # 4: resolving async test
132
+ # 5: {
133
+ # 6: moduleName: 'called resolved async test with object',
134
+ # 7: placeholder: 1000,
135
+ # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
136
+ # 9: }
137
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
138
+ # 11: calling deepEqual test case
139
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
140
+ # 13:
141
+ # 14: 1
142
+ # 15: \# tests 3
143
+ # 16: \# pass 3
144
+ # 17: \# skip 0
145
+ # 18: \# fail 0
146
+ # 19: \# duration 58
147
+ # 20:
148
+ # 21: This is running from after script!!
149
+ # 22: After script result is written:
150
+ # 23: {
151
+ # 24: "testCount": 3,
152
+ # 25: "failCount": 0,
153
+ # 26: "skipCount": 0,
154
+ # 27: "passCount": 3
155
+ # 28: }
156
+ # 29:
157
+ #
158
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
159
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
160
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:23:24
161
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
162
+ # at async Test.run (node:internal/test_runner/test:569:9)
163
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
164
+ # Subtest: --after works it needs to be awaited
165
+ ok 3 - --after works it needs to be awaited
166
+ ---
167
+ duration_ms: 518.113684
168
+ ...
169
+ # Trace:
170
+ # TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
171
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
172
+ # 0: \# QUnitX running: http://localhost:1234/
173
+ # 1: TAP version 13
174
+ # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
175
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
176
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
177
+ # 5:
178
+ # 6: 1
179
+ # 7: \# tests 3
180
+ # 8: \# pass 3
181
+ # 9: \# skip 0
182
+ # 10: \# fail 0
183
+ # 11: \# duration 748
184
+ # 12:
185
+ # 13: This is running from after script!!
186
+ # 14: After script result is written:
187
+ # 15: {
188
+ # 16: "testCount": 3,
189
+ # 17: "failCount": 0,
190
+ # 18: "skipCount": 0,
191
+ # 19: "passCount": 3
192
+ # 20: }
193
+ # 21:
194
+ #
195
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
196
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:33:24
197
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
198
+ # at async Test.run (node:internal/test_runner/test:569:9)
199
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
200
+ # Subtest: --after works for --browser mode it needs to be awaited
201
+ ok 4 - --after works for --browser mode it needs to be awaited
202
+ ---
203
+ duration_ms: 1626.413173
204
+ ...
205
+ 1..4
206
+ ok 2 - --after script tests
207
+ ---
208
+ duration_ms: 4725.585817
209
+ type: 'suite'
210
+ ...
211
+ # Trace:
212
+ # TEST NAME: --before script tests | --before works when it doesnt need to be awaited
213
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --before=test/helpers/before-script-basic.js
214
+ # 0: This is running from before script!!
215
+ # 1: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
216
+ # 2: TAP version 13
217
+ # 3: calling assert true test case
218
+ # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
219
+ # 5: resolving async test
220
+ # 6: {
221
+ # 7: moduleName: 'called resolved async test with object',
222
+ # 8: placeholder: 1000,
223
+ # 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
224
+ # 10: }
225
+ # 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
226
+ # 12: calling deepEqual test case
227
+ # 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
228
+ # 14:
229
+ # 15: 1
230
+ # 16: \# tests 3
231
+ # 17: \# pass 3
232
+ # 18: \# skip 0
233
+ # 19: \# fail 0
234
+ # 20: \# duration 57
235
+ # 21:
236
+ # 22:
237
+ #
238
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
239
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
240
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:7:24
241
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
242
+ # at async Test.run (node:internal/test_runner/test:569:9)
243
+ # at async Promise.all (index 0)
244
+ # at async Suite.run (node:internal/test_runner/test:801:7)
245
+ # at async Test.processPendingSubtests (node:internal/test_runner/test:315:7)
246
+ # Subtest: --before script tests
247
+ # Subtest: --before works when it doesnt need to be awaited
248
+ ok 1 - --before works when it doesnt need to be awaited
249
+ ---
250
+ duration_ms: 489.371768
251
+ ...
252
+ # Trace:
253
+ # TEST NAME: --before script tests | --before works for --browser mode when it doesnt need to be awaited
254
+ # TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
255
+ # 0: This is running from before script!!
256
+ # 1: \# QUnitX running: http://localhost:1235/
257
+ # 2: TAP version 13
258
+ # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
259
+ # 4: ok 2 {{moduleName}} Passing Tests | async test finishes \# (51 ms)
260
+ # 5: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
261
+ # 6:
262
+ # 7: 1
263
+ # 8: \# tests 3
264
+ # 9: \# pass 3
265
+ # 10: \# skip 0
266
+ # 11: \# fail 0
267
+ # 12: \# duration 589
268
+ # 13:
269
+ # 14:
270
+ #
271
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
272
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
273
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
274
+ # at async Test.run (node:internal/test_runner/test:569:9)
275
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
276
+ # Subtest: --before works for --browser mode when it doesnt need to be awaited
277
+ ok 2 - --before works for --browser mode when it doesnt need to be awaited
278
+ ---
279
+ duration_ms: 1397.827176
280
+ ...
281
+ # Trace:
282
+ # TEST NAME: --before script tests | --before works it needs to be awaited
283
+ # 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
284
+ # 0: This is running from before script!!
285
+ # 1: Starting before script with:
286
+ # 2: DOESNT HAVE SERVER RUNNING
287
+ # 3: \# HTTPServer [Server]: started successfully at [localhost:1235] in [4ms]
288
+ # 4: Web server started on port 1235
289
+ # 5: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
290
+ # 6: TAP version 13
291
+ # 7: calling assert true test case
292
+ # 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
293
+ # 9: resolving async test
294
+ # 10: {
295
+ # 11: moduleName: 'called resolved async test with object',
296
+ # 12: placeholder: 1000,
297
+ # 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
298
+ # 14: }
299
+ # 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
300
+ # 16: calling deepEqual test case
301
+ # 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
302
+ # 18: req received
303
+ # 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (307 ms)
304
+ # 20:
305
+ # 21: 1
306
+ # 22: \# tests 4
307
+ # 23: \# pass 4
308
+ # 24: \# skip 0
309
+ # 25: \# fail 0
310
+ # 26: \# duration 367
311
+ # 27:
312
+ # 28:
313
+ #
314
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
315
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
316
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:23:24
317
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
318
+ # at async Test.run (node:internal/test_runner/test:569:9)
319
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
320
+ # Subtest: --before works it needs to be awaited
321
+ ok 3 - --before works it needs to be awaited
322
+ ---
323
+ duration_ms: 952.428997
324
+ ...
325
+ # Trace:
326
+ # TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
327
+ # 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
328
+ # 0: This is running from before script!!
329
+ # 1: Starting before script with:
330
+ # 2: \# QUnitX running: http://localhost:1234/
331
+ # 3: TAP version 13
332
+ # 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
333
+ # 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
334
+ # 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
335
+ # 7: req received
336
+ # 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (273 ms)
337
+ # 9:
338
+ # 10: 1
339
+ # 11: \# tests 4
340
+ # 12: \# pass 4
341
+ # 13: \# skip 0
342
+ # 14: \# fail 0
343
+ # 15: \# duration 1043
344
+ # 16:
345
+ # 17:
346
+ #
347
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
348
+ # at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:33:24
349
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
350
+ # at async Test.run (node:internal/test_runner/test:569:9)
351
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
352
+ # Subtest: --before works for --browser mode it needs to be awaited
353
+ ok 4 - --before works for --browser mode it needs to be awaited
354
+ ---
355
+ duration_ms: 1890.990611
356
+ ...
357
+ 1..4
358
+ ok 3 - --before script tests
359
+ ---
360
+ duration_ms: 4731.382737
361
+ type: 'suite'
362
+ ...
363
+ # Subtest: Advanced HTML Input Tests
364
+ # Subtest: testing with specific html without content works
365
+ ok 1 - testing with specific html without content works
366
+ ---
367
+ duration_ms: 0.327522
368
+ ...
369
+ 1..1
370
+ ok 4 - Advanced HTML Input Tests
371
+ ---
372
+ duration_ms: 2.897734
373
+ type: 'suite'
374
+ ...
375
+ # Subtest: Advanced Error Edge Cases Tests
376
+ # Subtest: todo
377
+ ok 1 - todo
378
+ ---
379
+ duration_ms: 0.163623
380
+ ...
381
+ 1..1
382
+ ok 5 - Advanced Error Edge Cases Tests
383
+ ---
384
+ duration_ms: 0.259482
385
+ type: 'suite'
386
+ ...
387
+ # Subtest: File and Folder Combination Tests
388
+ # Subtest: todo
389
+ ok 1 - todo
390
+ ---
391
+ duration_ms: 0.113673
392
+ ...
393
+ 1..1
394
+ ok 6 - File and Folder Combination Tests
395
+ ---
396
+ duration_ms: 0.201666
397
+ type: 'suite'
398
+ ...
399
+ # Trace:
400
+ # TEST NAME: File Input Tests | testing a single passing js file works
401
+ # TEST COMMAND: node cli.js tmp/test/passing-tests.js
402
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/test/passing-tests.js
403
+ # 1: TAP version 13
404
+ # 2: calling assert true test case
405
+ # 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
406
+ # 4: resolving async test
407
+ # 5: {
408
+ # 6: moduleName: 'called resolved async test with object',
409
+ # 7: placeholder: 1000,
410
+ # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
411
+ # 9: }
412
+ # 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
413
+ # 11: calling deepEqual test case
414
+ # 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
415
+ # 13:
416
+ # 14: 1
417
+ # 15: \# tests 3
418
+ # 16: \# pass 3
419
+ # 17: \# skip 0
420
+ # 18: \# fail 0
421
+ # 19: \# duration 58
422
+ # 20:
423
+ # 21:
424
+ #
425
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
426
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
427
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:7:24
428
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
429
+ # at async Test.run (node:internal/test_runner/test:569:9)
430
+ # at async Promise.all (index 0)
431
+ # at async Suite.run (node:internal/test_runner/test:801:7)
432
+ # at async Test.processPendingSubtests (node:internal/test_runner/test:315:7)
433
+ # Subtest: File Input Tests
434
+ # Subtest: testing a single passing js file works
435
+ ok 1 - testing a single passing js file works
436
+ ---
437
+ duration_ms: 486.503325
438
+ ...
439
+ # Trace:
440
+ # ERROR TEST Name: File Input Tests | testing a single failing js file works
441
+ # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js
442
+ # Error: Command failed: node cli.js tmp/test/failing-tests.js
443
+ #
444
+ #
445
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
446
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
447
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:15:7
448
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
449
+ # at async Test.run (node:internal/test_runner/test:569:9)
450
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
451
+ # Subtest: testing a single failing js file works
452
+ ok 2 - testing a single failing js file works
453
+ ---
454
+ duration_ms: 823.324234
455
+ ...
456
+ # Trace:
457
+ # TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
458
+ # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
459
+ # 0: \# QUnitX running: http://localhost:1234/
460
+ # 1: TAP version 13
461
+ # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
462
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
463
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
464
+ # 5:
465
+ # 6: 1
466
+ # 7: \# tests 3
467
+ # 8: \# pass 3
468
+ # 9: \# skip 0
469
+ # 10: \# fail 0
470
+ # 11: \# duration 580
471
+ # 12:
472
+ # 13:
473
+ #
474
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
475
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:97:24
476
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
477
+ # at async Test.run (node:internal/test_runner/test:569:9)
478
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
479
+ # Subtest: testing a single passing js file with --browser works, console output supressed
480
+ ok 3 - testing a single passing js file with --browser works, console output supressed
481
+ ---
482
+ duration_ms: 2017.390845
483
+ ...
484
+ # Trace:
485
+ # TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
486
+ # TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
487
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1235] in [253ms]
488
+ # 1: \# QUnitX running: http://localhost:1235/
489
+ # 2: \# [HTTPServer] GET /favicon.ico
490
+ # 3: TAP version 13
491
+ # 4: calling assert true test case
492
+ # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
493
+ # 6: resolving async test
494
+ # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (98 ms)
495
+ # 8: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
496
+ # 9: calling deepEqual test case
497
+ # 10: {
498
+ # 11: moduleName: 'called resolved async test with object',
499
+ # 12: placeholder: 1000,
500
+ # 13: anotherObject: { firstName: 'Izel', createdAt: {} }
501
+ # 14: }
502
+ # 15:
503
+ # 16: 1
504
+ # 17: \# tests 3
505
+ # 18: \# pass 3
506
+ # 19: \# skip 0
507
+ # 20: \# fail 0
508
+ # 21: \# duration 659
509
+ # 22:
510
+ # 23: \# HTTPServer [Server]: stopped successfully
511
+ # 24:
512
+ #
513
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
514
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:104:24
515
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
516
+ # at async Test.run (node:internal/test_runner/test:569:9)
517
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
518
+ # Subtest: testing a single passing js file with --browser --debug works
519
+ ok 4 - testing a single passing js file with --browser --debug works
520
+ ---
521
+ duration_ms: 1508.994686
522
+ ...
523
+ # Trace:
524
+ # ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
525
+ # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser
526
+ # Error: Command failed: node cli.js tmp/test/failing-tests.js --browser
527
+ #
528
+ #
529
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
530
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:114:24
531
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
532
+ # at async Test.run (node:internal/test_runner/test:569:9)
533
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
534
+ # Subtest: testing a single failing js with --browser file works
535
+ ok 5 - testing a single failing js with --browser file works
536
+ ---
537
+ duration_ms: 1384.557405
538
+ ...
539
+ # Trace:
540
+ # ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
541
+ # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser --debug
542
+ # Error: Command failed: node cli.js tmp/test/failing-tests.js --browser --debug
543
+ #
544
+ #
545
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
546
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:124:7
547
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
548
+ # at async Test.run (node:internal/test_runner/test:569:9)
549
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
550
+ # Subtest: testing a single failing js file with --browser --debug works
551
+ ok 6 - testing a single failing js file with --browser --debug works
552
+ ---
553
+ duration_ms: 1447.565264
554
+ ...
555
+ # Trace:
556
+ # TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
557
+ # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser
558
+ # 0: \# QUnitX running: http://localhost:1235/
559
+ # 1: TAP version 13
560
+ # 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
561
+ # 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
562
+ # 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
563
+ # 5:
564
+ # 6: 1
565
+ # 7: \# tests 3
566
+ # 8: \# pass 3
567
+ # 9: \# skip 0
568
+ # 10: \# fail 0
569
+ # 11: \# duration 668
570
+ # 12:
571
+ # 13:
572
+ #
573
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
574
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:133:24
575
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
576
+ # at async Test.run (node:internal/test_runner/test:569:9)
577
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
578
+ # Subtest: testing a single passing ts file with --browser works, console output supressed
579
+ ok 7 - testing a single passing ts file with --browser works, console output supressed
580
+ ---
581
+ duration_ms: 1622.011416
582
+ ...
583
+ # Trace:
584
+ # TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
585
+ # TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
586
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [307ms]
587
+ # 1: \# QUnitX running: http://localhost:1234/
588
+ # 2: \# [HTTPServer] GET /favicon.ico
589
+ # 3: TAP version 13
590
+ # 4: calling assert true test case
591
+ # 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
592
+ # 6: resolving async test
593
+ # 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (51 ms)
594
+ # 8: calling deepEqual test case
595
+ # 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
596
+ # 10: {
597
+ # 11: moduleName: 'called resolved async test with object',
598
+ # 12: placeholder: 1000,
599
+ # 13: anotherObject: { firstName: 'Izel', createdAt: {} }
600
+ # 14: }
601
+ # 15:
602
+ # 16: 1
603
+ # 17: \# tests 3
604
+ # 18: \# pass 3
605
+ # 19: \# skip 0
606
+ # 20: \# fail 0
607
+ # 21: \# duration 681
608
+ # 22:
609
+ # 23: \# HTTPServer [Server]: stopped successfully
610
+ # 24:
611
+ #
612
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
613
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:141:24
614
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
615
+ # at async Test.run (node:internal/test_runner/test:569:9)
616
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
617
+ # Subtest: testing a single passing ts file with --browser --debug works
618
+ ok 8 - testing a single passing ts file with --browser --debug works
619
+ ---
620
+ duration_ms: 1587.308163
621
+ ...
622
+ # Trace:
623
+ # ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
624
+ # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser
625
+ # Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser
626
+ #
627
+ #
628
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
629
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:152:7
630
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
631
+ # at async Test.run (node:internal/test_runner/test:569:9)
632
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
633
+ # Subtest: testing a single failing ts with --browser file works
634
+ ok 9 - testing a single failing ts with --browser file works
635
+ ---
636
+ duration_ms: 1606.551878
637
+ ...
638
+ # Trace:
639
+ # ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
640
+ # ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser --debug
641
+ # Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser --debug
642
+ #
643
+ #
644
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
645
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:162:7
646
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
647
+ # at async Test.run (node:internal/test_runner/test:569:9)
648
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
649
+ # Subtest: testing a single failing ts file with --browser --debug works
650
+ ok 10 - testing a single failing ts file with --browser --debug works
651
+ ---
652
+ duration_ms: 1610.444857
653
+ ...
654
+ 1..10
655
+ ok 7 - File Input Tests
656
+ ---
657
+ duration_ms: 14096.33774
658
+ type: 'suite'
659
+ ...
660
+ # Trace:
661
+ # TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
662
+ # TEST COMMAND: node cli.js tmp/63928b12-5cbf-480f-baec-1a59e50e8a50
663
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/63928b12-5cbf-480f-baec-1a59e50e8a50/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/63928b12-5cbf-480f-baec-1a59e50e8a50/second-module-pass.js
664
+ # 1: TAP version 13
665
+ # 2: calling assert true test case
666
+ # 3: ok 1 63928b12-5cbf-480f-baec-1a59e50e8a50 | first-module-pass Passing Tests | assert true works \# (1 ms)
667
+ # 4: resolving async test
668
+ # 5: {
669
+ # 6: moduleName: 'called resolved async test with object',
670
+ # 7: placeholder: 1000,
671
+ # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
672
+ # 9: }
673
+ # 10: ok 2 63928b12-5cbf-480f-baec-1a59e50e8a50 | first-module-pass Passing Tests | async test finishes \# (58 ms)
674
+ # 11: calling deepEqual test case
675
+ # 12: ok 3 63928b12-5cbf-480f-baec-1a59e50e8a50 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
676
+ # 13: calling assert true test case
677
+ # 14: ok 4 63928b12-5cbf-480f-baec-1a59e50e8a50 | second-module-pass Passing Tests | assert true works \# (1 ms)
678
+ # 15: resolving async test
679
+ # 16: {
680
+ # 17: moduleName: 'called resolved async test with object',
681
+ # 18: placeholder: 1000,
682
+ # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
683
+ # 20: }
684
+ # 21: ok 5 63928b12-5cbf-480f-baec-1a59e50e8a50 | second-module-pass Passing Tests | async test finishes \# (52 ms)
685
+ # 22: calling deepEqual test case
686
+ # 23: ok 6 63928b12-5cbf-480f-baec-1a59e50e8a50 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
687
+ # 24:
688
+ # 25: 1
689
+ # 26: \# tests 6
690
+ # 27: \# pass 6
691
+ # 28: \# skip 0
692
+ # 29: \# fail 0
693
+ # 30: \# duration 122
694
+ # 31:
695
+ # 32:
696
+ #
697
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
698
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
699
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:11:24
700
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
701
+ # at async Test.run (node:internal/test_runner/test:569:9)
702
+ # at async Promise.all (index 0)
703
+ # at async Suite.run (node:internal/test_runner/test:801:7)
704
+ # at async Test.processPendingSubtests (node:internal/test_runner/test:315:7)
705
+ # Subtest: Folder Input Tests
706
+ # Subtest: works for a single folder input with all passing tests
707
+ ok 1 - works for a single folder input with all passing tests
708
+ ---
709
+ duration_ms: 521.935975
710
+ ...
711
+ # Trace:
712
+ # ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
713
+ # ERROR TEST COMMAND: node cli.js tmp/a06c9c79-76bd-4849-8d3b-5f2c78007288
714
+ # Error: Command failed: node cli.js tmp/a06c9c79-76bd-4849-8d3b-5f2c78007288
715
+ #
716
+ #
717
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
718
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
719
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:22:7
720
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
721
+ # at async Test.run (node:internal/test_runner/test:569:9)
722
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
723
+ # Subtest: works for a single folder input with few failing tests
724
+ ok 2 - works for a single folder input with few failing tests
725
+ ---
726
+ duration_ms: 702.772316
727
+ ...
728
+ # Trace:
729
+ # TEST NAME: Folder Input Tests |
730
+ # TEST COMMAND: node cli.js tmp/fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 tmp/c3a64a76-634c-473f-8d0e-86c113cf9190
731
+ # 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/c3a64a76-634c-473f-8d0e-86c113cf9190/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/c3a64a76-634c-473f-8d0e-86c113cf9190/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/fdc802ce-f4a5-472e-b3eb-88b7a73de9d7/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/fdc802ce-f4a5-472e-b3eb-88b7a73de9d7/second-module-pass.js
732
+ # 1: TAP version 13
733
+ # 2: calling assert true test case
734
+ # 3: ok 1 c3a64a76-634c-473f-8d0e-86c113cf9190 | first-module-pass Passing Tests | assert true works \# (1 ms)
735
+ # 4: resolving async test
736
+ # 5: {
737
+ # 6: moduleName: 'called resolved async test with object',
738
+ # 7: placeholder: 1000,
739
+ # 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
740
+ # 9: }
741
+ # 10: ok 2 c3a64a76-634c-473f-8d0e-86c113cf9190 | first-module-pass Passing Tests | async test finishes \# (58 ms)
742
+ # 11: calling deepEqual test case
743
+ # 12: ok 3 c3a64a76-634c-473f-8d0e-86c113cf9190 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
744
+ # 13: calling assert true test case
745
+ # 14: ok 4 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | first-module-pass Passing Tests | assert true works \# (1 ms)
746
+ # 15: resolving async test
747
+ # 16: {
748
+ # 17: moduleName: 'called resolved async test with object',
749
+ # 18: placeholder: 1000,
750
+ # 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
751
+ # 20: }
752
+ # 21: ok 5 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | first-module-pass Passing Tests | async test finishes \# (52 ms)
753
+ # 22: calling deepEqual test case
754
+ # 23: ok 6 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
755
+ # 24: calling assert true test case
756
+ # 25: ok 7 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | second-module-pass Passing Tests | assert true works \# (0 ms)
757
+ # 26: resolving async test
758
+ # 27: {
759
+ # 28: moduleName: 'called resolved async test with object',
760
+ # 29: placeholder: 1000,
761
+ # 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
762
+ # 31: }
763
+ # 32: ok 8 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | second-module-pass Passing Tests | async test finishes \# (52 ms)
764
+ # 33: calling deepEqual test case
765
+ # 34: ok 9 fdc802ce-f4a5-472e-b3eb-88b7a73de9d7 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
766
+ # 35: calling assert true test case
767
+ # 36: ok 10 c3a64a76-634c-473f-8d0e-86c113cf9190 | second-module-pass Passing Tests | assert true works \# (0 ms)
768
+ # 37: resolving async test
769
+ # 38: {
770
+ # 39: moduleName: 'called resolved async test with object',
771
+ # 40: placeholder: 1000,
772
+ # 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
773
+ # 42: }
774
+ # 43: ok 11 c3a64a76-634c-473f-8d0e-86c113cf9190 | second-module-pass Passing Tests | async test finishes \# (53 ms)
775
+ # 44: calling deepEqual test case
776
+ # 45: ok 12 c3a64a76-634c-473f-8d0e-86c113cf9190 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
777
+ # 46:
778
+ # 47: 1
779
+ # 48: \# tests 12
780
+ # 49: \# pass 12
781
+ # 50: \# skip 0
782
+ # 51: \# fail 0
783
+ # 52: \# duration 226
784
+ # 53:
785
+ # 54:
786
+ #
787
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
788
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
789
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:37:24
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:569:9)
792
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
793
+ # Subtest: works for a multiple folders input with all passing tests
794
+ ok 3 - works for a multiple folders input with all passing tests
795
+ ---
796
+ duration_ms: 610.021966
797
+ ...
798
+ # Trace:
799
+ # ERROR TEST Name: Folder Input Tests |
800
+ # ERROR TEST COMMAND: node cli.js tmp/272a6f2a-4962-4f5a-acaf-49851016dfe8 tmp/08f5becd-e1be-49be-8184-d84b66495668
801
+ # Error: Command failed: node cli.js tmp/272a6f2a-4962-4f5a-acaf-49851016dfe8 tmp/08f5becd-e1be-49be-8184-d84b66495668
802
+ #
803
+ #
804
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
805
+ # at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
806
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:52:7
807
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
808
+ # at async Test.run (node:internal/test_runner/test:569:9)
809
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
810
+ # Subtest: works for a multiple folders input with few failing tests
811
+ ok 4 - works for a multiple folders input with few failing tests
812
+ ---
813
+ duration_ms: 829.055115
814
+ ...
815
+ # Trace:
816
+ # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with all passing tests
817
+ # TEST COMMAND: node cli.js tmp/3c47d693-eee4-498a-a721-208c608dcd04 --browser
818
+ # 0: \# QUnitX running: http://localhost:1234/
819
+ # 1: TAP version 13
820
+ # 2: ok 1 3c47d693-eee4-498a-a721-208c608dcd04 | first-module-pass Passing Tests | assert true works \# (1 ms)
821
+ # 3: ok 2 3c47d693-eee4-498a-a721-208c608dcd04 | first-module-pass Passing Tests | async test finishes \# (52 ms)
822
+ # 4: ok 3 3c47d693-eee4-498a-a721-208c608dcd04 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
823
+ # 5: ok 4 3c47d693-eee4-498a-a721-208c608dcd04 | second-module-pass Passing Tests | assert true works \# (1 ms)
824
+ # 6: ok 5 3c47d693-eee4-498a-a721-208c608dcd04 | second-module-pass Passing Tests | async test finishes \# (55 ms)
825
+ # 7: ok 6 3c47d693-eee4-498a-a721-208c608dcd04 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
826
+ # 8:
827
+ # 9: 1
828
+ # 10: \# tests 6
829
+ # 11: \# pass 6
830
+ # 12: \# skip 0
831
+ # 13: \# fail 0
832
+ # 14: \# duration 825
833
+ # 15:
834
+ # 16:
835
+ #
836
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
837
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:73:24
838
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
839
+ # at async Test.run (node:internal/test_runner/test:569:9)
840
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
841
+ # Subtest: works for a single folder input in browser mode with all passing tests
842
+ ok 5 - works for a single folder input in browser mode with all passing tests
843
+ ---
844
+ duration_ms: 1532.330195
845
+ ...
846
+ # Trace:
847
+ # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with few failing tests
848
+ # ERROR TEST COMMAND: node cli.js tmp/4649cc91-cb4b-41c0-a508-df237c727fe2 --browser
849
+ # Error: Command failed: node cli.js tmp/4649cc91-cb4b-41c0-a508-df237c727fe2 --browser
850
+ #
851
+ #
852
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
853
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:84:7
854
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
855
+ # at async Test.run (node:internal/test_runner/test:569:9)
856
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
857
+ # Subtest: works for a single folder input in browser mode with few failing tests
858
+ ok 6 - works for a single folder input in browser mode with few failing tests
859
+ ---
860
+ duration_ms: 1553.874509
861
+ ...
862
+ # Trace:
863
+ # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with all passing tests
864
+ # TEST COMMAND: node cli.js tmp/e7aa1b54-5131-4366-9778-5ff421aa030d tmp/bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 --browser
865
+ # 0: \# QUnitX running: http://localhost:1234/
866
+ # 1: TAP version 13
867
+ # 2: ok 1 e7aa1b54-5131-4366-9778-5ff421aa030d | first-module-pass Passing Tests | assert true works \# (1 ms)
868
+ # 3: ok 2 e7aa1b54-5131-4366-9778-5ff421aa030d | first-module-pass Passing Tests | async test finishes \# (52 ms)
869
+ # 4: ok 3 e7aa1b54-5131-4366-9778-5ff421aa030d | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
870
+ # 5: ok 4 e7aa1b54-5131-4366-9778-5ff421aa030d | second-module-pass Passing Tests | assert true works \# (1 ms)
871
+ # 6: ok 5 e7aa1b54-5131-4366-9778-5ff421aa030d | second-module-pass Passing Tests | async test finishes \# (60 ms)
872
+ # 7: ok 6 e7aa1b54-5131-4366-9778-5ff421aa030d | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
873
+ # 8: ok 7 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | first-module-pass Passing Tests | assert true works \# (1 ms)
874
+ # 9: ok 8 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | first-module-pass Passing Tests | async test finishes \# (60 ms)
875
+ # 10: ok 9 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
876
+ # 11: ok 10 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | second-module-pass Passing Tests | assert true works \# (1 ms)
877
+ # 12: ok 11 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | second-module-pass Passing Tests | async test finishes \# (62 ms)
878
+ # 13: ok 12 bd80d0cc-47b2-4f58-aa5d-ebf379e1b4d8 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
879
+ # 14:
880
+ # 15: 1
881
+ # 16: \# tests 12
882
+ # 17: \# pass 12
883
+ # 18: \# skip 0
884
+ # 19: \# fail 0
885
+ # 20: \# duration 879
886
+ # 21:
887
+ # 22:
888
+ #
889
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
890
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:99:24
891
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
892
+ # at async Test.run (node:internal/test_runner/test:569:9)
893
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
894
+ # Subtest: works for a multiple folders input in browser mode with all passing tests
895
+ ok 7 - works for a multiple folders input in browser mode with all passing tests
896
+ ---
897
+ duration_ms: 1882.654329
898
+ ...
899
+ # Trace:
900
+ # ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with few failing tests
901
+ # ERROR TEST COMMAND: node cli.js tmp/a5bfdc3c-13d0-41bd-a0df-235613362eb1 tmp/12f15517-a544-4dcf-a695-ae5dd129f3e8 --browser
902
+ # Error: Command failed: node cli.js tmp/a5bfdc3c-13d0-41bd-a0df-235613362eb1 tmp/12f15517-a544-4dcf-a695-ae5dd129f3e8 --browser
903
+ #
904
+ #
905
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
906
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:114:7
907
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
908
+ # at async Test.run (node:internal/test_runner/test:569:9)
909
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
910
+ # Subtest: works for a multiple folders input in browser mode with few failing tests
911
+ ok 8 - works for a multiple folders input in browser mode with few failing tests
912
+ ---
913
+ duration_ms: 2324.184203
914
+ ...
915
+ # Trace:
916
+ # TEST NAME: Folder Input Tests | works for a single folder input in browser mode with debug and all passing tests
917
+ # TEST COMMAND: node cli.js tmp/e647cc78-3e3e-4c5c-9bd4-75f6956a1897 --browser --debug
918
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [353ms]
919
+ # 1: \# QUnitX running: http://localhost:1234/
920
+ # 2: \# [HTTPServer] GET /favicon.ico
921
+ # 3: TAP version 13
922
+ # 4: calling assert true test case
923
+ # 5: ok 1 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | first-module-pass Passing Tests | assert true works \# (3 ms)
924
+ # 6: resolving async test
925
+ # 7: ok 2 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | first-module-pass Passing Tests | async test finishes \# (62 ms)
926
+ # 8: calling deepEqual test case
927
+ # 9: ok 3 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | first-module-pass Passing Tests | deepEqual true works \# (4 ms)
928
+ # 10: calling assert true test case
929
+ # 11: ok 4 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | second-module-pass Passing Tests | assert true works \# (2 ms)
930
+ # 12: {
931
+ # 13: moduleName: 'called resolved async test with object',
932
+ # 14: placeholder: 1000,
933
+ # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
934
+ # 16: }
935
+ # 17: resolving async test
936
+ # 18: ok 5 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | second-module-pass Passing Tests | async test finishes \# (53 ms)
937
+ # 19: calling deepEqual test case
938
+ # 20: ok 6 e647cc78-3e3e-4c5c-9bd4-75f6956a1897 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
939
+ # 21: {
940
+ # 22: moduleName: 'called resolved async test with object',
941
+ # 23: placeholder: 1000,
942
+ # 24: anotherObject: { firstName: 'Izel', createdAt: {} }
943
+ # 25: }
944
+ # 26:
945
+ # 27: 1
946
+ # 28: \# tests 6
947
+ # 29: \# pass 6
948
+ # 30: \# skip 0
949
+ # 31: \# fail 0
950
+ # 32: \# duration 704
951
+ # 33:
952
+ # 34: \# HTTPServer [Server]: stopped successfully
953
+ # 35:
954
+ #
955
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
956
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:135:24
957
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
958
+ # at async Test.run (node:internal/test_runner/test:569:9)
959
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
960
+ # Subtest: works for a single folder input in browser mode with debug and all passing tests
961
+ ok 9 - works for a single folder input in browser mode with debug and all passing tests
962
+ ---
963
+ duration_ms: 2140.384843
964
+ ...
965
+ # Trace:
966
+ # ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with debug and few failing tests
967
+ # ERROR TEST COMMAND: node cli.js tmp/49bac14c-87c1-4a03-be68-322e21b11e9f --browser --debug
968
+ # Error: Command failed: node cli.js tmp/49bac14c-87c1-4a03-be68-322e21b11e9f --browser --debug
969
+ #
970
+ #
971
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
972
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:146:7
973
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
974
+ # at async Test.run (node:internal/test_runner/test:569:9)
975
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
976
+ # Subtest: works for a single folder input in browser mode with debug and few failing tests
977
+ ok 10 - works for a single folder input in browser mode with debug and few failing tests
978
+ ---
979
+ duration_ms: 2032.997364
980
+ ...
981
+ # Trace:
982
+ # TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with debug and all passing tests
983
+ # TEST COMMAND: node cli.js tmp/c0c2d4ba-0646-4145-a8be-0f25f68fd6fc tmp/6094550b-1cb9-4022-8202-1da2809541ff --browser --debug
984
+ # 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [235ms]
985
+ # 1: \# QUnitX running: http://localhost:1234/
986
+ # 2: \# [HTTPServer] GET /favicon.ico
987
+ # 3: TAP version 13
988
+ # 4: calling assert true test case
989
+ # 5: ok 1 6094550b-1cb9-4022-8202-1da2809541ff | first-module-pass Passing Tests | assert true works \# (1 ms)
990
+ # 6: resolving async test
991
+ # 7: ok 2 6094550b-1cb9-4022-8202-1da2809541ff | first-module-pass Passing Tests | async test finishes \# (55 ms)
992
+ # 8: calling deepEqual test case
993
+ # 9: ok 3 6094550b-1cb9-4022-8202-1da2809541ff | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
994
+ # 10: calling assert true test case
995
+ # 11: ok 4 6094550b-1cb9-4022-8202-1da2809541ff | second-module-pass Passing Tests | assert true works \# (1 ms)
996
+ # 12: {
997
+ # 13: moduleName: 'called resolved async test with object',
998
+ # 14: placeholder: 1000,
999
+ # 15: anotherObject: { firstName: 'Izel', createdAt: {} }
1000
+ # 16: }
1001
+ # 17: resolving async test
1002
+ # 18: ok 5 6094550b-1cb9-4022-8202-1da2809541ff | second-module-pass Passing Tests | async test finishes \# (59 ms)
1003
+ # 19: calling deepEqual test case
1004
+ # 20: ok 6 6094550b-1cb9-4022-8202-1da2809541ff | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1005
+ # 21: calling assert true test case
1006
+ # 22: ok 7 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | first-module-pass Passing Tests | assert true works \# (1 ms)
1007
+ # 23: {
1008
+ # 24: moduleName: 'called resolved async test with object',
1009
+ # 25: placeholder: 1000,
1010
+ # 26: anotherObject: { firstName: 'Izel', createdAt: {} }
1011
+ # 27: }
1012
+ # 28: resolving async test
1013
+ # 29: ok 8 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | first-module-pass Passing Tests | async test finishes \# (60 ms)
1014
+ # 30: calling deepEqual test case
1015
+ # 31: ok 9 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
1016
+ # 32: calling assert true test case
1017
+ # 33: ok 10 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | second-module-pass Passing Tests | assert true works \# (1 ms)
1018
+ # 34: {
1019
+ # 35: moduleName: 'called resolved async test with object',
1020
+ # 36: placeholder: 1000,
1021
+ # 37: anotherObject: { firstName: 'Izel', createdAt: {} }
1022
+ # 38: }
1023
+ # 39: resolving async test
1024
+ # 40: ok 11 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | second-module-pass Passing Tests | async test finishes \# (64 ms)
1025
+ # 41: calling deepEqual test case
1026
+ # 42: {
1027
+ # 43: moduleName: 'called resolved async test with object',
1028
+ # 44: placeholder: 1000,
1029
+ # 45: anotherObject: { firstName: 'Izel', createdAt: {} }
1030
+ # 46: }
1031
+ # 47: ok 12 c0c2d4ba-0646-4145-a8be-0f25f68fd6fc | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
1032
+ # 48:
1033
+ # 49: 1
1034
+ # 50: \# tests 12
1035
+ # 51: \# pass 12
1036
+ # 52: \# skip 0
1037
+ # 53: \# fail 0
1038
+ # 54: \# duration 856
1039
+ # 55:
1040
+ # 56: \# HTTPServer [Server]: stopped successfully
1041
+ # 57:
1042
+ #
1043
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
1044
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:161:24
1045
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1046
+ # at async Test.run (node:internal/test_runner/test:569:9)
1047
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
1048
+ # Subtest: works for a multiple folders input in browser mode with debug and all passing tests
1049
+ ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
1050
+ ---
1051
+ duration_ms: 1802.902649
1052
+ ...
1053
+ # Trace:
1054
+ # 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/1b4fc918-233b-4130-bda1-846d515bd786 tmp/2dbfd9c0-0765-4dc5-ab0c-84908519f82c --browser --debug
1056
+ # Error: Command failed: node cli.js tmp/1b4fc918-233b-4130-bda1-846d515bd786 tmp/2dbfd9c0-0765-4dc5-ab0c-84908519f82c --browser --debug
1057
+ #
1058
+ #
1059
+ # at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
1060
+ # at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:176:7
1061
+ # at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
1062
+ # at async Test.run (node:internal/test_runner/test:569:9)
1063
+ # at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
1064
+ # Subtest: works for a multiple folders input in browser mode with debug and few failing tests
1065
+ ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
1066
+ ---
1067
+ duration_ms: 1948.015448
1068
+ ...
1069
+ 1..12
1070
+ ok 8 - Folder Input Tests
1071
+ ---
1072
+ duration_ms: 17883.057227
1073
+ type: 'suite'
1074
+ ...
1075
+ # Subtest: Setup | glob(*) input tests | test-file-paths tests
1076
+ # Subtest: setupTestFilePaths() works correctly on different inputs
1077
+ ok 1 - setupTestFilePaths() works correctly on different inputs
1078
+ ---
1079
+ duration_ms: 11.836095
1080
+ ...
1081
+ 1..1
1082
+ ok 9 - Setup | glob(*) input tests | test-file-paths tests
1083
+ ---
1084
+ duration_ms: 14.184019
1085
+ type: 'suite'
1086
+ ...
1087
+ 1..9
1088
+ # tests 39
1089
+ # suites 9
1090
+ # pass 39
1091
+ # fail 0
1092
+ # cancelled 0
1093
+ # skipped 0
1094
+ # todo 0
1095
+ # duration_ms 32165.37309