1 parent a843fed commit ad34f77Copy full SHA for ad34f77
1 file changed
tests/e2e/setup/001-npm-sandbox.ts
@@ -41,7 +41,10 @@ export default async function () {
41
42
// Configure the registry and prefix used within the test sandbox via rc files
43
await writeFile(npmrc, `registry=${npmRegistry}\nprefix=${npmModulesPrefix}`);
44
- await writeFile(yarnrc, `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}`);
+ await writeFile(
45
+ yarnrc,
46
+ `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}\nnetwork-timeout 15000\nprefer-offline true\n`,
47
+ );
48
49
await mkdir(npmModulesPrefix);
50
await mkdir(yarnModulesPrefix);
0 commit comments