diff --git a/test/support/prepare.js b/test/support/prepare.js index 5cc47d85ef..a6b83965a5 100644 --- a/test/support/prepare.js +++ b/test/support/prepare.js @@ -8,7 +8,9 @@ process.env.ROOT = root const tmpPath = join(root, '.tmp') mkdirp.sync(tmpPath) const npmrc = [ - 'store-path=./node_modules/.store' + 'store-path=./node_modules/.store', + 'fetch-retries=5', + 'fetch-retry-maxtimeout=180000' ] fs.writeFileSync(join(tmpPath, '.npmrc'), npmrc, 'utf-8')