node/test/fixtures/source-map/output/source_map_enclosing_function.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

12 lines
567 B
Text

<project-root>/test/fixtures/source-map/enclosing-call-site.js:26
throw err
^
Error: an error!
at functionD (<project-root>/test/fixtures/source-map/enclosing-call-site.js:16:17)
at functionC (<project-root>/test/fixtures/source-map/enclosing-call-site.js:10:3)
at functionB (<project-root>/test/fixtures/source-map/enclosing-call-site.js:6:3)
at functionA (<project-root>/test/fixtures/source-map/enclosing-call-site.js:2:3)
at Object.<anonymous> (<project-root>/test/fixtures/source-map/enclosing-call-site.js:24:3)
Node.js <node-version>