We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ba2a1 commit 520e763Copy full SHA for 520e763
test/external-assertions/test.js
@@ -8,7 +8,9 @@ const snapshotStdout = (t, stdout) => {
8
const normalized = stdout
9
.replaceAll('\r', '')
10
.replaceAll(/\/{3}/g, '//')
11
- .replaceAll('×', '✘')
+ // Not sure how, but this Symbol may different on different system
12
+ // https://github.com/nodejs/node/blob/dec0213c834607e7721ee250d8c46ef9cd112efe/lib/internal/test_runner/reporter/utils.js#L21
13
+ .replaceAll('× ', '✘ ')
14
.replaceAll(/(\b)at.*\n/g, '$1at ---\n');
15
16
t.snapshot(normalized);
0 commit comments