Skip to content

Commit 0b15e03

Browse files
committed
test: remove unneeded yarnrc creation in E2E setup
1 parent 927a262 commit 0b15e03

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/legacy-cli/e2e/setup/001-npm-sandbox.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default async function () {
1111
const yarnModulesPrefix = join(tempRoot, 'yarn-global');
1212
const npmRegistry: string = getGlobalVariable('package-registry');
1313
const npmrc = join(tempRoot, '.npmrc');
14-
const yarnrc = join(tempRoot, '.yarnrc');
1514

1615
// Change the npm+yarn userconfig to the sandboxed npmrc to override the default ~
1716
process.env.NPM_CONFIG_USERCONFIG = npmrc;
@@ -37,7 +36,6 @@ export default async function () {
3736

3837
// Configure the registry and prefix used within the test sandbox via rc files
3938
await writeFile(npmrc, `registry=${npmRegistry}\nprefix=${npmModulesPrefix}`);
40-
await writeFile(yarnrc, `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}`);
4139

4240
await mkdir(npmModulesPrefix);
4341
await mkdir(yarnModulesPrefix);

0 commit comments

Comments
 (0)