qunitx 0.6.0 → 0.6.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.
- package/deno.lock +344 -101
- package/lib/servers/http.js +5 -1
- package/package.json +10 -8
- package/test-output.log +628 -87
- package/lol.ts +0 -18
package/test-output.log
CHANGED
|
@@ -3,23 +3,29 @@ TAP version 13
|
|
|
3
3
|
# Subtest: $ qunitx -> prints help text
|
|
4
4
|
not ok 1 - $ qunitx -> prints help text
|
|
5
5
|
---
|
|
6
|
-
duration_ms:
|
|
6
|
+
duration_ms: 2098.219847
|
|
7
7
|
failureType: 'testCodeFailure'
|
|
8
8
|
error: |-
|
|
9
9
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js
|
|
10
|
-
[0m[
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
[0m[32mDownload[0m https://registry.npmjs.org/auto-changelog
|
|
11
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cheerio
|
|
12
|
+
[0m[32mDownload[0m https://registry.npmjs.org/chokidar
|
|
13
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cors
|
|
14
|
+
[0m[32mDownload[0m https://registry.npmjs.org/esbuild
|
|
15
|
+
[0m[32mDownload[0m https://registry.npmjs.org/express
|
|
16
|
+
[0m[32mDownload[0m https://registry.npmjs.org/js-yaml
|
|
17
|
+
[0m[32mDownload[0m https://registry.npmjs.org/jsdom
|
|
18
|
+
[0m[32mDownload[0m https://registry.npmjs.org/kleur
|
|
19
|
+
[0m[32mDownload[0m https://registry.npmjs.org/picomatch
|
|
20
|
+
[0m[32mDownload[0m https://registry.npmjs.org/prettier
|
|
21
|
+
[0m[32mDownload[0m https://registry.npmjs.org/puppeteer
|
|
22
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunit
|
|
23
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunitx
|
|
24
|
+
[0m[32mDownload[0m https://registry.npmjs.org/recursive-lookup
|
|
25
|
+
[0m[32mDownload[0m https://registry.npmjs.org/release-it
|
|
26
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ts-node
|
|
27
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ws
|
|
28
|
+
[0m[1m[31merror[0m: Could not find npm package 'release-it' matching '^16.1.3'.
|
|
23
29
|
|
|
24
30
|
code: 1
|
|
25
31
|
stack: |-
|
|
@@ -31,83 +37,97 @@ TAP version 13
|
|
|
31
37
|
# Subtest: $ qunitx print -> prints help text
|
|
32
38
|
not ok 2 - $ qunitx print -> prints help text
|
|
33
39
|
---
|
|
34
|
-
duration_ms:
|
|
40
|
+
duration_ms: 1799.229744
|
|
35
41
|
failureType: 'testCodeFailure'
|
|
36
42
|
error: |-
|
|
37
43
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js print
|
|
38
|
-
[0m[
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
[0m[32mDownload[0m https://registry.npmjs.org/auto-changelog
|
|
45
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cheerio
|
|
46
|
+
[0m[32mDownload[0m https://registry.npmjs.org/chokidar
|
|
47
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cors
|
|
48
|
+
[0m[32mDownload[0m https://registry.npmjs.org/esbuild
|
|
49
|
+
[0m[32mDownload[0m https://registry.npmjs.org/express
|
|
50
|
+
[0m[32mDownload[0m https://registry.npmjs.org/js-yaml
|
|
51
|
+
[0m[32mDownload[0m https://registry.npmjs.org/jsdom
|
|
52
|
+
[0m[32mDownload[0m https://registry.npmjs.org/kleur
|
|
53
|
+
[0m[32mDownload[0m https://registry.npmjs.org/picomatch
|
|
54
|
+
[0m[32mDownload[0m https://registry.npmjs.org/prettier
|
|
55
|
+
[0m[32mDownload[0m https://registry.npmjs.org/puppeteer
|
|
56
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunit
|
|
57
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunitx
|
|
58
|
+
[0m[32mDownload[0m https://registry.npmjs.org/recursive-lookup
|
|
59
|
+
[0m[32mDownload[0m https://registry.npmjs.org/release-it
|
|
60
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ts-node
|
|
61
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ws
|
|
62
|
+
[0m[1m[31merror[0m: Could not find npm package 'release-it' matching '^16.1.3'.
|
|
51
63
|
|
|
52
64
|
code: 1
|
|
53
65
|
stack: |-
|
|
54
66
|
ChildProcess.exithandler (node:child_process:419:12)
|
|
55
67
|
ChildProcess.emit (node:events:511:28)
|
|
56
68
|
maybeClose (node:internal/child_process:1098:16)
|
|
57
|
-
|
|
58
|
-
Socket.emit (node:events:511:28)
|
|
59
|
-
Pipe.<anonymous> (node:net:334:12)
|
|
69
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
60
70
|
...
|
|
61
71
|
# Subtest: $ qunitx p -> prints help text
|
|
62
72
|
not ok 3 - $ qunitx p -> prints help text
|
|
63
73
|
---
|
|
64
|
-
duration_ms:
|
|
74
|
+
duration_ms: 2056.471292
|
|
65
75
|
failureType: 'testCodeFailure'
|
|
66
76
|
error: |-
|
|
67
77
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js p
|
|
68
|
-
[0m[
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
[0m[32mDownload[0m https://registry.npmjs.org/auto-changelog
|
|
79
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cheerio
|
|
80
|
+
[0m[32mDownload[0m https://registry.npmjs.org/chokidar
|
|
81
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cors
|
|
82
|
+
[0m[32mDownload[0m https://registry.npmjs.org/esbuild
|
|
83
|
+
[0m[32mDownload[0m https://registry.npmjs.org/express
|
|
84
|
+
[0m[32mDownload[0m https://registry.npmjs.org/js-yaml
|
|
85
|
+
[0m[32mDownload[0m https://registry.npmjs.org/jsdom
|
|
86
|
+
[0m[32mDownload[0m https://registry.npmjs.org/kleur
|
|
87
|
+
[0m[32mDownload[0m https://registry.npmjs.org/picomatch
|
|
88
|
+
[0m[32mDownload[0m https://registry.npmjs.org/prettier
|
|
89
|
+
[0m[32mDownload[0m https://registry.npmjs.org/puppeteer
|
|
90
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunit
|
|
91
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunitx
|
|
92
|
+
[0m[32mDownload[0m https://registry.npmjs.org/recursive-lookup
|
|
93
|
+
[0m[32mDownload[0m https://registry.npmjs.org/release-it
|
|
94
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ts-node
|
|
95
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ws
|
|
96
|
+
[0m[1m[31merror[0m: Could not find npm package 'release-it' matching '^16.1.3'.
|
|
81
97
|
|
|
82
98
|
code: 1
|
|
83
99
|
stack: |-
|
|
84
100
|
ChildProcess.exithandler (node:child_process:419:12)
|
|
85
101
|
ChildProcess.emit (node:events:511:28)
|
|
86
102
|
maybeClose (node:internal/child_process:1098:16)
|
|
87
|
-
|
|
88
|
-
Socket.emit (node:events:511:28)
|
|
89
|
-
Pipe.<anonymous> (node:net:334:12)
|
|
103
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
90
104
|
...
|
|
91
105
|
# Subtest: $ qunitx help -> prints help text
|
|
92
106
|
not ok 4 - $ qunitx help -> prints help text
|
|
93
107
|
---
|
|
94
|
-
duration_ms:
|
|
108
|
+
duration_ms: 5314.819146
|
|
95
109
|
failureType: 'testCodeFailure'
|
|
96
110
|
error: |-
|
|
97
111
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js help
|
|
98
|
-
[0m[
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
[0m[32mDownload[0m https://registry.npmjs.org/auto-changelog
|
|
113
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cheerio
|
|
114
|
+
[0m[32mDownload[0m https://registry.npmjs.org/chokidar
|
|
115
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cors
|
|
116
|
+
[0m[32mDownload[0m https://registry.npmjs.org/esbuild
|
|
117
|
+
[0m[32mDownload[0m https://registry.npmjs.org/express
|
|
118
|
+
[0m[32mDownload[0m https://registry.npmjs.org/js-yaml
|
|
119
|
+
[0m[32mDownload[0m https://registry.npmjs.org/jsdom
|
|
120
|
+
[0m[32mDownload[0m https://registry.npmjs.org/kleur
|
|
121
|
+
[0m[32mDownload[0m https://registry.npmjs.org/picomatch
|
|
122
|
+
[0m[32mDownload[0m https://registry.npmjs.org/prettier
|
|
123
|
+
[0m[32mDownload[0m https://registry.npmjs.org/puppeteer
|
|
124
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunit
|
|
125
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunitx
|
|
126
|
+
[0m[32mDownload[0m https://registry.npmjs.org/recursive-lookup
|
|
127
|
+
[0m[32mDownload[0m https://registry.npmjs.org/release-it
|
|
128
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ts-node
|
|
129
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ws
|
|
130
|
+
[0m[1m[31merror[0m: Could not find npm package 'release-it' matching '^16.1.3'.
|
|
111
131
|
|
|
112
132
|
code: 1
|
|
113
133
|
stack: |-
|
|
@@ -119,37 +139,41 @@ TAP version 13
|
|
|
119
139
|
# Subtest: $ qunitx h -> prints help text
|
|
120
140
|
not ok 5 - $ qunitx h -> prints help text
|
|
121
141
|
---
|
|
122
|
-
duration_ms:
|
|
142
|
+
duration_ms: 5291.016724
|
|
123
143
|
failureType: 'testCodeFailure'
|
|
124
144
|
error: |-
|
|
125
145
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js h
|
|
126
|
-
[0m[
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
146
|
+
[0m[32mDownload[0m https://registry.npmjs.org/auto-changelog
|
|
147
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cheerio
|
|
148
|
+
[0m[32mDownload[0m https://registry.npmjs.org/chokidar
|
|
149
|
+
[0m[32mDownload[0m https://registry.npmjs.org/cors
|
|
150
|
+
[0m[32mDownload[0m https://registry.npmjs.org/esbuild
|
|
151
|
+
[0m[32mDownload[0m https://registry.npmjs.org/express
|
|
152
|
+
[0m[32mDownload[0m https://registry.npmjs.org/js-yaml
|
|
153
|
+
[0m[32mDownload[0m https://registry.npmjs.org/jsdom
|
|
154
|
+
[0m[32mDownload[0m https://registry.npmjs.org/kleur
|
|
155
|
+
[0m[32mDownload[0m https://registry.npmjs.org/picomatch
|
|
156
|
+
[0m[32mDownload[0m https://registry.npmjs.org/prettier
|
|
157
|
+
[0m[32mDownload[0m https://registry.npmjs.org/puppeteer
|
|
158
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunit
|
|
159
|
+
[0m[32mDownload[0m https://registry.npmjs.org/qunitx
|
|
160
|
+
[0m[32mDownload[0m https://registry.npmjs.org/recursive-lookup
|
|
161
|
+
[0m[32mDownload[0m https://registry.npmjs.org/release-it
|
|
162
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ts-node
|
|
163
|
+
[0m[32mDownload[0m https://registry.npmjs.org/ws
|
|
164
|
+
[0m[1m[31merror[0m: Could not find npm package 'release-it' matching '^16.1.3'.
|
|
139
165
|
|
|
140
166
|
code: 1
|
|
141
167
|
stack: |-
|
|
142
168
|
ChildProcess.exithandler (node:child_process:419:12)
|
|
143
169
|
ChildProcess.emit (node:events:511:28)
|
|
144
170
|
maybeClose (node:internal/child_process:1098:16)
|
|
145
|
-
|
|
146
|
-
Socket.emit (node:events:511:28)
|
|
147
|
-
Pipe.<anonymous> (node:net:334:12)
|
|
171
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
148
172
|
...
|
|
149
173
|
1..5
|
|
150
174
|
not ok 1 - Commands | Help tests
|
|
151
175
|
---
|
|
152
|
-
duration_ms:
|
|
176
|
+
duration_ms: 5322.847296
|
|
153
177
|
type: 'suite'
|
|
154
178
|
failureType: 'subtestsFailed'
|
|
155
179
|
error: '5 subtests failed'
|
|
@@ -168,7 +192,7 @@ not ok 1 - Commands | Help tests
|
|
|
168
192
|
# 7: placeholder: 1000,
|
|
169
193
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
170
194
|
# 9: }
|
|
171
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
195
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
172
196
|
# 11: calling deepEqual test case
|
|
173
197
|
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
174
198
|
# 13:
|
|
@@ -177,7 +201,7 @@ not ok 1 - Commands | Help tests
|
|
|
177
201
|
# 16: \# pass 3
|
|
178
202
|
# 17: \# skip 0
|
|
179
203
|
# 18: \# fail 0
|
|
180
|
-
# 19: \# duration
|
|
204
|
+
# 19: \# duration 59
|
|
181
205
|
# 20:
|
|
182
206
|
# 21: This is running from after script!!
|
|
183
207
|
# 22:
|
|
@@ -194,7 +218,7 @@ not ok 1 - Commands | Help tests
|
|
|
194
218
|
# Subtest: --after works when it doesnt need to be awaited
|
|
195
219
|
ok 1 - --after works when it doesnt need to be awaited
|
|
196
220
|
---
|
|
197
|
-
duration_ms:
|
|
221
|
+
duration_ms: 1701.447585
|
|
198
222
|
...
|
|
199
223
|
# Trace:
|
|
200
224
|
# TEST NAME: --after script tests | --after works it needs to be awaited
|
|
@@ -202,14 +226,14 @@ not ok 1 - Commands | Help tests
|
|
|
202
226
|
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
203
227
|
# 1: TAP version 13
|
|
204
228
|
# 2: calling assert true test case
|
|
205
|
-
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
229
|
+
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
206
230
|
# 4: resolving async test
|
|
207
231
|
# 5: {
|
|
208
232
|
# 6: moduleName: 'called resolved async test with object',
|
|
209
233
|
# 7: placeholder: 1000,
|
|
210
234
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
211
235
|
# 9: }
|
|
212
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
236
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
213
237
|
# 11: calling deepEqual test case
|
|
214
238
|
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
215
239
|
# 13:
|
|
@@ -218,7 +242,7 @@ not ok 1 - Commands | Help tests
|
|
|
218
242
|
# 16: \# pass 3
|
|
219
243
|
# 17: \# skip 0
|
|
220
244
|
# 18: \# fail 0
|
|
221
|
-
# 19: \# duration
|
|
245
|
+
# 19: \# duration 61
|
|
222
246
|
# 20:
|
|
223
247
|
# 21: This is running from after script!!
|
|
224
248
|
# 22: After script result is written:
|
|
@@ -231,10 +255,527 @@ not ok 1 - Commands | Help tests
|
|
|
231
255
|
# 29:
|
|
232
256
|
#
|
|
233
257
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
234
|
-
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
235
258
|
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:23:24
|
|
236
259
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
237
260
|
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
238
261
|
# at async Promise.all (index 2)
|
|
239
262
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
240
263
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
264
|
+
# Trace:
|
|
265
|
+
# ERROR TEST Name: --after script tests | --after works for --browser mode when it doesnt need to be awaited
|
|
266
|
+
# ERROR TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
|
|
267
|
+
# Error: Command failed: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
|
|
268
|
+
# BROWSER: runtime error thrown during executing tests
|
|
269
|
+
#
|
|
270
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
271
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:15:24
|
|
272
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
273
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
274
|
+
# at async Promise.all (index 1)
|
|
275
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
276
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
277
|
+
# Subtest: --after works for --browser mode when it doesnt need to be awaited
|
|
278
|
+
not ok 2 - --after works for --browser mode when it doesnt need to be awaited
|
|
279
|
+
---
|
|
280
|
+
duration_ms: 2811.673683
|
|
281
|
+
failureType: 'testCodeFailure'
|
|
282
|
+
error: |-
|
|
283
|
+
Command failed: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
|
|
284
|
+
BROWSER: runtime error thrown during executing tests
|
|
285
|
+
|
|
286
|
+
code: 1
|
|
287
|
+
stack: |-
|
|
288
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
289
|
+
ChildProcess.emit (node:events:511:28)
|
|
290
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
291
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
292
|
+
Socket.emit (node:events:511:28)
|
|
293
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
294
|
+
...
|
|
295
|
+
# Subtest: --after works it needs to be awaited
|
|
296
|
+
ok 3 - --after works it needs to be awaited
|
|
297
|
+
---
|
|
298
|
+
duration_ms: 1723.9877
|
|
299
|
+
...
|
|
300
|
+
# Trace:
|
|
301
|
+
# ERROR TEST Name: --after script tests | --after works for --browser mode it needs to be awaited
|
|
302
|
+
# ERROR TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
303
|
+
# Error: Command failed: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
304
|
+
# BROWSER: runtime error thrown during executing tests
|
|
305
|
+
#
|
|
306
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
307
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:33:24
|
|
308
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
309
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
310
|
+
# at async Promise.all (index 3)
|
|
311
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
312
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
313
|
+
# Subtest: --after works for --browser mode it needs to be awaited
|
|
314
|
+
not ok 4 - --after works for --browser mode it needs to be awaited
|
|
315
|
+
---
|
|
316
|
+
duration_ms: 2811.590547
|
|
317
|
+
failureType: 'testCodeFailure'
|
|
318
|
+
error: |-
|
|
319
|
+
Command failed: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
320
|
+
BROWSER: runtime error thrown during executing tests
|
|
321
|
+
|
|
322
|
+
code: 1
|
|
323
|
+
stack: |-
|
|
324
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
325
|
+
ChildProcess.emit (node:events:511:28)
|
|
326
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
327
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
328
|
+
Socket.emit (node:events:511:28)
|
|
329
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
330
|
+
...
|
|
331
|
+
1..4
|
|
332
|
+
not ok 2 - --after script tests
|
|
333
|
+
---
|
|
334
|
+
duration_ms: 2833.285669
|
|
335
|
+
type: 'suite'
|
|
336
|
+
failureType: 'subtestsFailed'
|
|
337
|
+
error: '2 subtests failed'
|
|
338
|
+
code: 'ERR_TEST_FAILURE'
|
|
339
|
+
...
|
|
340
|
+
# Trace:
|
|
341
|
+
# TEST NAME: --before script tests | --before works when it doesnt need to be awaited
|
|
342
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --before=test/helpers/before-script-basic.js
|
|
343
|
+
# 0: This is running from before script!!
|
|
344
|
+
# 1: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
345
|
+
# 2: TAP version 13
|
|
346
|
+
# 3: calling assert true test case
|
|
347
|
+
# 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
348
|
+
# 5: resolving async test
|
|
349
|
+
# 6: {
|
|
350
|
+
# 7: moduleName: 'called resolved async test with object',
|
|
351
|
+
# 8: placeholder: 1000,
|
|
352
|
+
# 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
353
|
+
# 10: }
|
|
354
|
+
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
|
|
355
|
+
# 12: calling deepEqual test case
|
|
356
|
+
# 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
357
|
+
# 14:
|
|
358
|
+
# 15: 1..3
|
|
359
|
+
# 16: \# tests 3
|
|
360
|
+
# 17: \# pass 3
|
|
361
|
+
# 18: \# skip 0
|
|
362
|
+
# 19: \# fail 0
|
|
363
|
+
# 20: \# duration 61
|
|
364
|
+
# 21:
|
|
365
|
+
# 22:
|
|
366
|
+
#
|
|
367
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
368
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
369
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:7:24
|
|
370
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
371
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
372
|
+
# at async Promise.all (index 0)
|
|
373
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
374
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
375
|
+
# Subtest: --before script tests
|
|
376
|
+
# Subtest: --before works when it doesnt need to be awaited
|
|
377
|
+
ok 1 - --before works when it doesnt need to be awaited
|
|
378
|
+
---
|
|
379
|
+
duration_ms: 1016.949143
|
|
380
|
+
...
|
|
381
|
+
# Trace:
|
|
382
|
+
# TEST NAME: --before script tests | --before works it needs to be awaited
|
|
383
|
+
# 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
|
|
384
|
+
# 0: This is running from before script!!
|
|
385
|
+
# 1: Starting before script with:
|
|
386
|
+
# 2: DOESNT HAVE SERVER RUNNING
|
|
387
|
+
# 3: Web server started on port 1234
|
|
388
|
+
# 4: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
|
|
389
|
+
# 5: TAP version 13
|
|
390
|
+
# 6: calling assert true test case
|
|
391
|
+
# 7: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
392
|
+
# 8: resolving async test
|
|
393
|
+
# 9: {
|
|
394
|
+
# 10: moduleName: 'called resolved async test with object',
|
|
395
|
+
# 11: placeholder: 1000,
|
|
396
|
+
# 12: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
397
|
+
# 13: }
|
|
398
|
+
# 14: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
|
|
399
|
+
# 15: calling deepEqual test case
|
|
400
|
+
# 16: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
401
|
+
# 17: ok 4 {{moduleName}} Before script web server tests | assert true works \# (338 ms)
|
|
402
|
+
# 18:
|
|
403
|
+
# 19: 1..4
|
|
404
|
+
# 20: \# tests 4
|
|
405
|
+
# 21: \# pass 4
|
|
406
|
+
# 22: \# skip 0
|
|
407
|
+
# 23: \# fail 0
|
|
408
|
+
# 24: \# duration 397
|
|
409
|
+
# 25:
|
|
410
|
+
# 26:
|
|
411
|
+
#
|
|
412
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
413
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
414
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:23:24
|
|
415
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
416
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
417
|
+
# at async Promise.all (index 2)
|
|
418
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
419
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
420
|
+
# Trace:
|
|
421
|
+
# ERROR TEST Name: --before script tests | --before works for --browser mode when it doesnt need to be awaited
|
|
422
|
+
# ERROR TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
423
|
+
# Error: Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
424
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
425
|
+
# let exception = new BundleError(error);
|
|
426
|
+
# ^
|
|
427
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
428
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
429
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
430
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
431
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
432
|
+
# Node.js v20.3.1
|
|
433
|
+
#
|
|
434
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
435
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
|
|
436
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
437
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
438
|
+
# at async Promise.all (index 1)
|
|
439
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
440
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
441
|
+
# Subtest: --before works for --browser mode when it doesnt need to be awaited
|
|
442
|
+
not ok 2 - --before works for --browser mode when it doesnt need to be awaited
|
|
443
|
+
---
|
|
444
|
+
duration_ms: 2164.442538
|
|
445
|
+
failureType: 'testCodeFailure'
|
|
446
|
+
error: |-
|
|
447
|
+
Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
448
|
+
file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
449
|
+
let exception = new BundleError(error);
|
|
450
|
+
^
|
|
451
|
+
|
|
452
|
+
BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
453
|
+
at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
454
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
455
|
+
at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
456
|
+
at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
457
|
+
|
|
458
|
+
Node.js v20.3.1
|
|
459
|
+
|
|
460
|
+
code: 1
|
|
461
|
+
stack: |-
|
|
462
|
+
runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
463
|
+
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
464
|
+
async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
465
|
+
async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
466
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
467
|
+
ChildProcess.emit (node:events:511:28)
|
|
468
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
469
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
470
|
+
Socket.emit (node:events:511:28)
|
|
471
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
472
|
+
...
|
|
473
|
+
# Subtest: --before works it needs to be awaited
|
|
474
|
+
ok 3 - --before works it needs to be awaited
|
|
475
|
+
---
|
|
476
|
+
duration_ms: 1636.157778
|
|
477
|
+
...
|
|
478
|
+
# Trace:
|
|
479
|
+
# ERROR TEST Name: --before script tests | --before works for --browser mode it needs to be awaited
|
|
480
|
+
# ERROR 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
|
|
481
|
+
# Error: Command failed: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --browser --before=test/helpers/before-script-async.js
|
|
482
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
483
|
+
# let exception = new BundleError(error);
|
|
484
|
+
# ^
|
|
485
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
486
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
487
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
488
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
489
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
490
|
+
# Node.js v20.3.1
|
|
491
|
+
#
|
|
492
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
493
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:33:24
|
|
494
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
495
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
496
|
+
# at async Promise.all (index 3)
|
|
497
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
498
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
499
|
+
# Subtest: --before works for --browser mode it needs to be awaited
|
|
500
|
+
not ok 4 - --before works for --browser mode it needs to be awaited
|
|
501
|
+
---
|
|
502
|
+
duration_ms: 2184.29529
|
|
503
|
+
failureType: 'testCodeFailure'
|
|
504
|
+
error: |-
|
|
505
|
+
Command failed: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --browser --before=test/helpers/before-script-async.js
|
|
506
|
+
file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
507
|
+
let exception = new BundleError(error);
|
|
508
|
+
^
|
|
509
|
+
|
|
510
|
+
BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
511
|
+
at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
512
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
513
|
+
at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
514
|
+
at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
515
|
+
|
|
516
|
+
Node.js v20.3.1
|
|
517
|
+
|
|
518
|
+
code: 1
|
|
519
|
+
stack: |-
|
|
520
|
+
runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
521
|
+
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
522
|
+
async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
523
|
+
async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
524
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
525
|
+
ChildProcess.emit (node:events:511:28)
|
|
526
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
527
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
528
|
+
Socket.emit (node:events:511:28)
|
|
529
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
530
|
+
...
|
|
531
|
+
1..4
|
|
532
|
+
not ok 3 - --before script tests
|
|
533
|
+
---
|
|
534
|
+
duration_ms: 2211.418543
|
|
535
|
+
type: 'suite'
|
|
536
|
+
failureType: 'subtestsFailed'
|
|
537
|
+
error: '2 subtests failed'
|
|
538
|
+
code: 'ERR_TEST_FAILURE'
|
|
539
|
+
...
|
|
540
|
+
# Subtest: Advanced HTML Input Tests
|
|
541
|
+
# Subtest: testing with specific html without content works
|
|
542
|
+
ok 1 - testing with specific html without content works
|
|
543
|
+
---
|
|
544
|
+
duration_ms: 0.646948
|
|
545
|
+
...
|
|
546
|
+
1..1
|
|
547
|
+
ok 4 - Advanced HTML Input Tests
|
|
548
|
+
---
|
|
549
|
+
duration_ms: 1.061714
|
|
550
|
+
type: 'suite'
|
|
551
|
+
...
|
|
552
|
+
# Subtest: Advanced Error Edge Cases Tests
|
|
553
|
+
# Subtest: todo
|
|
554
|
+
ok 1 - todo
|
|
555
|
+
---
|
|
556
|
+
duration_ms: 0.466879
|
|
557
|
+
...
|
|
558
|
+
1..1
|
|
559
|
+
ok 5 - Advanced Error Edge Cases Tests
|
|
560
|
+
---
|
|
561
|
+
duration_ms: 0.810824
|
|
562
|
+
type: 'suite'
|
|
563
|
+
...
|
|
564
|
+
# Subtest: File and Folder Combination Tests
|
|
565
|
+
# Subtest: todo
|
|
566
|
+
ok 1 - todo
|
|
567
|
+
---
|
|
568
|
+
duration_ms: 0.905731
|
|
569
|
+
...
|
|
570
|
+
1..1
|
|
571
|
+
ok 6 - File and Folder Combination Tests
|
|
572
|
+
---
|
|
573
|
+
duration_ms: 1.155284
|
|
574
|
+
type: 'suite'
|
|
575
|
+
...
|
|
576
|
+
# Trace:
|
|
577
|
+
# TEST NAME: File Input Tests | testing a single passing js file works
|
|
578
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.js
|
|
579
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/test/passing-tests.js
|
|
580
|
+
# 1: TAP version 13
|
|
581
|
+
# 2: calling assert true test case
|
|
582
|
+
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
583
|
+
# 4: resolving async test
|
|
584
|
+
# 5: {
|
|
585
|
+
# 6: moduleName: 'called resolved async test with object',
|
|
586
|
+
# 7: placeholder: 1000,
|
|
587
|
+
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
588
|
+
# 9: }
|
|
589
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
|
|
590
|
+
# 11: calling deepEqual test case
|
|
591
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
592
|
+
# 13:
|
|
593
|
+
# 14: 1..3
|
|
594
|
+
# 15: \# tests 3
|
|
595
|
+
# 16: \# pass 3
|
|
596
|
+
# 17: \# skip 0
|
|
597
|
+
# 18: \# fail 0
|
|
598
|
+
# 19: \# duration 57
|
|
599
|
+
# 20:
|
|
600
|
+
# 21:
|
|
601
|
+
#
|
|
602
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
603
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
604
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:7:24
|
|
605
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
606
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
607
|
+
# at async Promise.all (index 0)
|
|
608
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
609
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
610
|
+
# Subtest: File Input Tests
|
|
611
|
+
# Subtest: testing a single passing js file works
|
|
612
|
+
ok 1 - testing a single passing js file works
|
|
613
|
+
---
|
|
614
|
+
duration_ms: 665.877902
|
|
615
|
+
...
|
|
616
|
+
# Trace:
|
|
617
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js file works
|
|
618
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js
|
|
619
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js
|
|
620
|
+
#
|
|
621
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
622
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
623
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:15:7
|
|
624
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
625
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
626
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
627
|
+
# Subtest: testing a single failing js file works
|
|
628
|
+
ok 2 - testing a single failing js file works
|
|
629
|
+
---
|
|
630
|
+
duration_ms: 623.113119
|
|
631
|
+
...
|
|
632
|
+
# Trace:
|
|
633
|
+
# ERROR TEST Name: File Input Tests | testing a single passing js file with --browser works, console output supressed
|
|
634
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
|
|
635
|
+
# Error: Command failed: node cli.js tmp/test/passing-tests.js --browser
|
|
636
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
637
|
+
# let exception = new BundleError(error);
|
|
638
|
+
# ^
|
|
639
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
640
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
641
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
642
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
643
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
644
|
+
# Node.js v20.3.1
|
|
645
|
+
#
|
|
646
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
647
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:97:24
|
|
648
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
649
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
650
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
651
|
+
# Subtest: testing a single passing js file with --browser works, console output supressed
|
|
652
|
+
not ok 3 - testing a single passing js file with --browser works, console output supressed
|
|
653
|
+
---
|
|
654
|
+
duration_ms: 1400.884482
|
|
655
|
+
failureType: 'testCodeFailure'
|
|
656
|
+
error: |-
|
|
657
|
+
Command failed: node cli.js tmp/test/passing-tests.js --browser
|
|
658
|
+
file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
659
|
+
let exception = new BundleError(error);
|
|
660
|
+
^
|
|
661
|
+
|
|
662
|
+
BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
663
|
+
at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
664
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
665
|
+
at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
666
|
+
at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
667
|
+
|
|
668
|
+
Node.js v20.3.1
|
|
669
|
+
|
|
670
|
+
code: 1
|
|
671
|
+
stack: |-
|
|
672
|
+
runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
673
|
+
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
674
|
+
async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
675
|
+
async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
676
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
677
|
+
ChildProcess.emit (node:events:511:28)
|
|
678
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
679
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
680
|
+
Socket.emit (node:events:511:28)
|
|
681
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
682
|
+
...
|
|
683
|
+
# Trace:
|
|
684
|
+
# ERROR TEST Name: File Input Tests | testing a single passing js file with --browser --debug works
|
|
685
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
686
|
+
# Error: Command failed: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
687
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
688
|
+
# let exception = new BundleError(error);
|
|
689
|
+
# ^
|
|
690
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
691
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
692
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
693
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
694
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
695
|
+
# Node.js v20.3.1
|
|
696
|
+
#
|
|
697
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
698
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:104:24
|
|
699
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
700
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
701
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
702
|
+
# Subtest: testing a single passing js file with --browser --debug works
|
|
703
|
+
not ok 4 - testing a single passing js file with --browser --debug works
|
|
704
|
+
---
|
|
705
|
+
duration_ms: 1548.493017
|
|
706
|
+
failureType: 'testCodeFailure'
|
|
707
|
+
error: |-
|
|
708
|
+
Command failed: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
709
|
+
file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
710
|
+
let exception = new BundleError(error);
|
|
711
|
+
^
|
|
712
|
+
|
|
713
|
+
BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
714
|
+
at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
715
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
716
|
+
at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
717
|
+
at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
718
|
+
|
|
719
|
+
Node.js v20.3.1
|
|
720
|
+
|
|
721
|
+
code: 1
|
|
722
|
+
stack: |-
|
|
723
|
+
runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
724
|
+
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
725
|
+
async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
726
|
+
async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
727
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
728
|
+
ChildProcess.emit (node:events:511:28)
|
|
729
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
730
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
731
|
+
Socket.emit (node:events:511:28)
|
|
732
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
733
|
+
...
|
|
734
|
+
# Trace:
|
|
735
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
|
|
736
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser
|
|
737
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js --browser
|
|
738
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
739
|
+
# let exception = new BundleError(error);
|
|
740
|
+
# ^
|
|
741
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
742
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
743
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
744
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
745
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
746
|
+
# Node.js v20.3.1
|
|
747
|
+
#
|
|
748
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
749
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:114:24
|
|
750
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
751
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
752
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
753
|
+
# Subtest: testing a single failing js with --browser file works
|
|
754
|
+
ok 5 - testing a single failing js with --browser file works
|
|
755
|
+
---
|
|
756
|
+
duration_ms: 1555.86097
|
|
757
|
+
...
|
|
758
|
+
# Trace:
|
|
759
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
|
|
760
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser --debug
|
|
761
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js --browser --debug
|
|
762
|
+
# file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94
|
|
763
|
+
# let exception = new BundleError(error);
|
|
764
|
+
# ^
|
|
765
|
+
# BundleError: esbuild Bundle Error: TypeError: connections.server.close is not a function
|
|
766
|
+
# at runTestsInBrowser (file:///home/izelnakri/Github/qunitx/lib/commands/run/tests-in-browser.js:94:21)
|
|
767
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
768
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:34:5)
|
|
769
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
770
|
+
# Node.js v20.3.1
|
|
771
|
+
#
|
|
772
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
773
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:124:7
|
|
774
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
775
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
776
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
777
|
+
# Subtest: testing a single failing js file with --browser --debug works
|
|
778
|
+
ok 6 - testing a single failing js file with --browser --debug works
|
|
779
|
+
---
|
|
780
|
+
duration_ms: 1467.042485
|
|
781
|
+
...
|