node/test/fixtures/source-map/output/source_map_no_source_file.snapshot
Chengzhong Wu bdceaa2117
test: unify assertSnapshot common patterns
Unifes assertSnapshot common patterns like platform specific path
separators, line ending, line trailing spaces, Node.js version strings,
and pids in warning messages.

PR-URL: https://github.com/nodejs/node/pull/61590
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
2026-02-02 23:04:33 +00:00

9 lines
294 B
Text

<project-root>/test/fixtures/source-map/no-source.js:2
throw new Error('foo');
^
Error: foo
at Throw (<project-root>/test/fixtures/source-map/file-not-exists.ts:2:9)
at Object.<anonymous> (<project-root>/test/fixtures/source-map/file-not-exists.ts:5:1)
Node.js <node-version>