Source maps test failure
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript, node.js
- Domain
- testing
Research direction
Start with test/parallel/test-node-output-sourcemaps.mjs:29 and the source-map/output/source_map_throw_class.js fixture named in the failure. Compare the expected snapshot with the actual stack output, then run the reported test command. Done means the source-map test passes with the intended class-method stack name.
Written by the indexing model from the issue text.
Description
[09](https://github.com/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
- Dominant language
- Shell
- Stars
- 466
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/node-v8
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·