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>
10 lines
332 B
Text
10 lines
332 B
Text
reachable
|
|
<project-root>/test/fixtures/source-map/typescript-throw.ts:18
|
|
throw Error('an exception');
|
|
^
|
|
|
|
Error: an exception
|
|
at branch (<project-root>/test/fixtures/source-map/typescript-throw.ts:18:11)
|
|
at Object.<anonymous> (<project-root>/test/fixtures/source-map/typescript-throw.ts:24:1)
|
|
|
|
Node.js <node-version>
|