Skip to content

Commit 8df73bc

Browse files
committed
chore: reinstate line break normalization
1 parent 6266c86 commit 8df73bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/auto-install/test/yarn-bare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('yarn, bare', async (t) => {
2828
]
2929
});
3030
const lockFile = readFileSync('yarn.lock', 'utf-8');
31-
t.snapshot(lockFile);
31+
t.snapshot(lockFile.replace(/\r\n/g, '\n'));
3232
});
3333

3434
test.after(async () => {

packages/auto-install/test/yarn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test('yarn', async (t) => {
2525
plugins: [autoInstall({ commands: { yarn: 'echo "yarn" > yarn.lock' } }), resolve()]
2626
});
2727
const lockFile = readFileSync('yarn.lock', 'utf-8');
28-
t.snapshot(lockFile);
28+
t.snapshot(lockFile.replace(/\r\n/g, '\n'));
2929
});
3030

3131
test.after(async () => {

0 commit comments

Comments
 (0)