Skip to content

Commit 48e94f7

Browse files
authored
fix: graph deprecation snapshots with normalization (#5524)
* fix: add specific windows character to snapshot normalizer * fix: add specific windows character to snapshot normalizer * fix: add specific windows character to snapshot normalizer
1 parent f667d27 commit 48e94f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/utils/snapshots.cjs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const baseNormalizers = [
88
{ pattern: /\\/gu, value: '/' },
99
{ pattern: /\r\n/gu, value: '\n' },
1010
{ pattern: //gu, value: '>' },
11+
{ pattern: /»/gu, value: '›' },
1112
// normalize exit code from different OSes
1213
{ pattern: /code \d+/, value: 'code *' },
1314
// this is specific to npm v6

0 commit comments

Comments
 (0)