node/test/fixtures/console
Chengzhong Wu cff8bfd865
test: unify assertSnapshot stacktrace transform
The snapshotted stack frames should hide node internal stack frames so
that general node core development does not need updating the snapshot.

For userland stack frames, they are highly fixture related and any
fixture change should reflect in a change of the snapshot. Additionally,
the line and column number are highly relevant to the correctness of the
snapshot, these should not be redacted. A change in node core that
affects userland stack frames should be alarming and be reflected in the
snapshots.

Features like test runner and source map support both should snapshot
userland stack frames to ensure that userland code locations are
computed correctly.

PR-URL: https://github.com/nodejs/node/pull/61665
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
2026-02-11 14:36:49 +00:00
..
2100bytes.js
2100bytes.snapshot
console.js
console.snapshot test: unify assertSnapshot stacktrace transform 2026-02-11 14:36:49 +00:00
console_low_stack_space.js
console_low_stack_space.snapshot
force_colors.js
force_colors.snapshot
hello_world.js
hello_world.snapshot
stack_overflow.js test: force slow JSON.stringify path for overflow 2025-05-30 06:22:52 +00:00
stack_overflow.snapshot test: unify assertSnapshot stacktrace transform 2026-02-11 14:36:49 +00:00