Skip to content

Commit 6f1b9f1

Browse files
Andaristshellscape
authored andcommitted
chore(repo): change workspace packages pattern (#135)
1 parent 40efea8 commit 6f1b9f1

File tree

4 files changed

+369
-81
lines changed

4 files changed

+369
-81
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ test('yarn, bare', async (t) => {
2323
},
2424
plugins: [autoInstall({ manager: 'yarn' }), resolve()]
2525
});
26-
const lock = readFileSync('yarn.lock', 'utf-8');
27-
t.snapshot(readFileSync('package.json', 'utf-8'));
26+
const lock = readFileSync('yarn.lock', 'utf-8').replace(/\r\n/g, '\n');
27+
t.snapshot(readFileSync('package.json', 'utf-8').replace(/\r\n/g, '\n'));
2828
t.snapshot(lock);
2929
});
3030

packages/auto-install/test/yarn.js

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

0 commit comments

Comments
 (0)