cli: allow test coverage, module mocks, and snapshots in NODE_OPTIONS
#58766
Annotations
3 errors and 1 notice
Test:
test/parallel/test-cli-node-options-docs.js#L105
--- stderr ---
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: Should have option --experimental-test-coverage in NODE_OPTIONS documented
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-cli-node-options-docs.js:105:5)
at Module._compile (node:internal/modules/cjs/loader:1566:14)
at Object..js (node:internal/modules/cjs/loader:1718:10)
at Module.load (node:internal/modules/cjs/loader:1305:32)
at Function._load (node:internal/modules/cjs/loader:1119:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-cli-node-options-docs.js
|
Test:
test/parallel/test-process-env-allowed-flags-are-documented.js#L130
--- stderr ---
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: --no-experimental-test-module-mocks
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js:130:5)
at Module._compile (node:internal/modules/cjs/loader:1566:14)
at Object..js (node:internal/modules/cjs/loader:1718:10)
at Module.load (node:internal/modules/cjs/loader:1305:32)
at Function._load (node:internal/modules/cjs/loader:1119:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading