fix(source-maps): resolve test failures #81437
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-node-output-sourcemaps.mjs#L32
--- stdout ---
Test failure: 'source-map/output/source_map_throw_class_method.js'
Location: test/parallel/test-node-output-sourcemaps.mjs:31:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'Error: This is a test\n' +
' at Foo.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:12:7)\n' +
'Error: This is a test\n' +
+ ' at Bar.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
- ' at Object.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:19:7)\n'
at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-node-output-sourcemaps.mjs:32:7)
at async Test.run (node:internal/test_runner/test:1409:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Error: This is a test\n' +
' at Foo.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:12:7)\n' +
'Error: This is a test\n' +
' at Bar.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:19:7)\n',
expected: 'Error: This is a test\n' +
' at Foo.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:12:7)\n' +
'Error: This is a test\n' +
' at Object.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\n' +
' at Object.<anonymous> (<project-root>/test/fixtures/source-map/throw-class-method.js:19:7)\n',
operator: 'strictEqual',
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-node-output-sourcemaps.mjs
|
|
sccache stats - test-macOS
81% - 4058 hits, 971 misses, 0 errors
|