test: retry fetch more

This commit is contained in:
Zoltan Kochan
2016-08-28 16:53:56 +03:00
parent b19369407a
commit 875656fc4e

View File

@@ -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')