lib: fix ERR_INVALID_ARG_TYPE with --enable-source-maps #75899
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-assert-ok-source-maps.js#L45
--- stdout ---
Test failure: 'assert(false) in .mjs with --enable-source-maps throws AssertionError'
Location: test/parallel/test-assert-ok-source-maps.js:27:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\(false\)/. Input:
'The expression evaluated to a falsy value:'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:45:10)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1306:25)
at Test.start (node:internal/test_runner/test:1177:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'The expression evaluated to a falsy value:',
expected: /assert\(false\)/,
operator: 'match',
diff: 'simple'
}
Test failure: 'assert.ok(false) in .cjs with --enable-source-maps throws AssertionError'
Location: test/parallel/test-assert-ok-source-maps.js:48:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\.ok\(false\)/. Input:
'The expression evaluated to a falsy value:'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:66:10)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1306:25)
at Test.processPendingSubtests (node:internal/test_runner/test:897:18)
at Test.postRun (node:internal/test_runner/test:1447:19)
at Test.run (node:internal/test_runner/test:1372:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'The expression evaluated to a falsy value:',
expected: /assert\.ok\(false\)/,
operator: 'match',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js
|
|
sccache stats - test-macOS
41% - 2034 hits, 2943 misses, 0 errors
|