node/test/fixtures/source-map
Chengzhong Wu ec2913f036
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-04-08 23:53:06 +02:00
..
extract-url
node_modules/error-stack
output test: unify assertSnapshot stacktrace transform 2026-04-08 23:53:06 +02:00
babel-esm-original.mjs
babel-esm.mjs
babel-throw-original.js
babel-throw.js
basic.js
disk-index.map
disk-relative-path.js
disk.js
disk.map
emptyStackError.js
enclosing-call-site-min.js
enclosing-call-site.js
enclosing-call-site.js.map
esm-basic.mjs
esm-dep.mjs
esm-export-missing-module.mjs
esm-export-missing-module.mjs.map
esm-export-missing.mjs
esm-export-missing.mjs.map
esm-export-missing.ts
exit-1.js
icu.js
icu.jsx
inline-base64-json-error.js
inline-base64-type-error.js
inline-base64.js
istanbul-throw-original.js
istanbul-throw.js
no-source.js
no-source.js.map
no-source.ts
no-throw.js
no-throw.ts
no-throw2.js
sigint.js
tabs-source-url.coffee src,lib: obtain sourceURL in magic comments from V8 2025-05-31 15:02:42 +02:00
tabs-source-url.js src,lib: obtain sourceURL in magic comments from V8 2025-05-31 15:02:42 +02:00
tabs.coffee
tabs.js
throw-async.mjs
throw-async.mjs.map
throw-async.ts
throw-class-method.js lib: add type names in source mapped stack traces 2025-08-12 09:19:58 -03:00
throw-class-method.min.js lib: add type names in source mapped stack traces 2025-08-12 09:19:58 -03:00
throw-class-method.min.js.map lib: add type names in source mapped stack traces 2025-08-12 09:19:58 -03:00
throw-on-require-entry.js
throw-on-require-entry.js.map
throw-on-require.js
throw-on-require.js.map
throw-on-require.ts
throw-string-original.js
throw-string.js
ts-node-win32.js
ts-node.ts
typescript-sourcemapping_url_string.js
typescript-sourcemapping_url_string.js.map
typescript-throw.js
typescript-throw.js.map
typescript-throw.ts
uglify-throw-original.js
uglify-throw.js
webpack.js
webpack.js.map