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>
9 lines
309 B
Text
9 lines
309 B
Text
<project-root>/test/fixtures/source-map/icu.jsx:3
|
|
("あ 🐕 🐕", throw Error("an error"));
|
|
^
|
|
|
|
Error: an error
|
|
at Object.createElement (<project-root>/test/fixtures/source-map/icu.jsx:3:23)
|
|
at Object.<anonymous> (<project-root>/test/fixtures/source-map/icu.jsx:9:5)
|
|
|
|
Node.js <node-version>
|