Sitelet https://github.com/nodejs/node/pull/48040/commits/35bc426bce047e6227abec0d2fb084c8fa18bc41
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into enhancement/message-tests-can-be-migrated-fr…
…om-python-to-JS-#47707
  • Loading branch information
projectnoa authored May 6, 2023
commit 35bc426bce047e6227abec0d2fb084c8fa18bc41
8 changes: 4 additions & 4 deletions test/parallel/test-node-output-errors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ describe('errors output', { concurrency: true }, () => {
return str.replaceAll(/\x1B\[\d*m(\(.*\))|(\(.*\))/g, '*');
}
const common = snapshot
.transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion);
const defaultTransform = snapshot.transform(common, normalize);
const errTransform = snapshot.transform(common, normalizeNoNumbers);
const promiseTransform = snapshot.transform(common, replaceStackTrace, normalizeNoNumbers);
.transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths);
const defaultTransform = snapshot.transform(common, normalize, replaceNodeVersion);
const errTransform = snapshot.transform(common, normalizeNoNumbers, replaceNodeVersion);
const promiseTransform = snapshot.transform(common, replaceStackTrace, normalizeNoNumbers, replaceNodeVersion);
const customTransform = snapshot.transform(common, replaceStackTrace, normalizeStackTrace, normalizeNoNumbers);

const tests = [
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.