CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 14:03:33 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"3fa4c4ba8eba77c12d05353fab349474"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=rIAwTYxdZY7c6Ic6NfPdUqY2qbeJ%2Be9zVKFnQKZP65mQu48Ah0uBTq7729Q25jUyOrWks8wbmG18HNZrCyzU6eW%2B7QxaNkD%2FDLYbNQuFsjqYJSauVp%2Fzx%2FwhyDx92TPgCcUY8fjbSy3dlo5tkcpmYNHviCuE8MC9naBSER5BtgBELoH%2BEgQvnMP20uWMC1k2BINZ%2BqbMVaWgHVMvlFfDI7N5gdMejP1Y28ENWmI%2BM3FjxVyllRYbs9V%2Bwfgz%2FFU3WJi9TajvPFG3gGEp2M9Nag%3D%3D--2ZEHJXH3iMw4vLAS--EZoqkV1eXOnj6Di0Wo3AVw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1212724604.1753106612; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:03:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:03:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8458:10A6BA:1CEC903:23EEDA5:687E48B4
test_runner: consolidate option parsing · nodejs/node@97da7ca · GitHub
Copy file name to clipboardExpand all lines: lib/internal/main/test_runner.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/coverage.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/utils.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Commit 97da7ca
test_runner: consolidate option parsing
This commit consolidates all option parsing for the test runner
in the parseCommandLine() internal helper function. The exception
is a couple of temporary flags used for feature gating which
will eventually become no-ops. This consolidation is prep work
for supporting running test files in the test runner process.
PR-URL: #53849
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>1 parent df5083e commit 97da7caCopy full SHA for 97da7ca
File tree
Expand file treeCollapse file tree
3 files changed
+68
-55
lines changedFilter options
- lib/internal
- main
- test_runner
Expand file treeCollapse file tree
3 files changed
+68
-55
lines changedlib/internal/main/test_runner.js
Copy file name to clipboardExpand all lines: lib/internal/main/test_runner.js+14-44Lines changed: 14 additions & 44 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 | 3 |
| |
10 | 4 |
| |
11 | 5 |
| |
12 | 6 |
| |
13 |
| - | |
14 | 7 |
| |
15 | 8 |
| |
16 |
| - | |
17 |
| - | |
18 | 9 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
24 | 14 |
| |
25 | 15 |
| |
26 | 16 |
| |
27 | 17 |
| |
28 | 18 |
| |
29 | 19 |
| |
30 | 20 |
| |
31 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
32 | 29 |
| |
33 | 30 |
| |
34 | 31 |
| |
| |||
38 | 35 |
| |
39 | 36 |
| |
40 | 37 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 | 38 |
| |
69 | 39 |
| |
70 | 40 |
| |
71 |
| - | |
| 41 | + | |
72 | 42 |
| |
73 |
| - | |
| 43 | + | |
74 | 44 |
| |
75 | 45 |
| |
76 | 46 |
| |
|
lib/internal/test_runner/coverage.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/coverage.js+13-11Lines changed: 13 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 | 28 |
| |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
| |||
498 | 500 |
| |
499 | 501 |
| |
500 | 502 |
| |
501 |
| - | |
502 |
| - | |
503 |
| - | |
504 |
| - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
505 | 507 |
| |
506 | 508 |
| |
507 | 509 |
| |
508 | 510 |
| |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
513 | 515 |
| |
514 | 516 |
| |
515 | 517 |
| |
|
lib/internal/test_runner/utils.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/utils.js+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
| |||
196 | 198 |
| |
197 | 199 |
| |
198 | 200 |
| |
| 201 | + | |
199 | 202 |
| |
200 | 203 |
| |
| 204 | + | |
| 205 | + | |
201 | 206 |
| |
| 207 | + | |
202 | 208 |
| |
| 209 | + | |
203 | 210 |
| |
204 | 211 |
| |
205 | 212 |
| |
| 213 | + | |
206 | 214 |
| |
207 | 215 |
| |
208 | 216 |
| |
| |||
232 | 240 |
| |
233 | 241 |
| |
234 | 242 |
| |
| 243 | + | |
| 244 | + | |
235 | 245 |
| |
236 | 246 |
| |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
237 | 265 |
| |
| 266 | + | |
| 267 | + | |
238 | 268 |
| |
239 | 269 |
| |
240 | 270 |
| |
| |||
247 | 277 |
| |
248 | 278 |
| |
249 | 279 |
| |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
250 | 285 |
| |
251 | 286 |
| |
252 | 287 |
| |
253 | 288 |
| |
| 289 | + | |
| 290 | + | |
254 | 291 |
| |
| 292 | + | |
| 293 | + | |
| 294 | + | |
255 | 295 |
| |
256 | 296 |
| |
257 | 297 |
| |
258 | 298 |
| |
259 | 299 |
| |
260 | 300 |
| |
261 | 301 |
| |
| 302 | + | |
262 | 303 |
| |
263 | 304 |
| |
264 | 305 |
| |
|
You can’t perform that action at this time.
0 commit comments