test: retry fetch more

This commit is contained in:
Zoltan Kochan committed 2016-08-28 16:53:56 +03:00
1 parent b19369407a
commit 875656fc4e
1 file changed
+3 -1
+3 -1
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')