add pipeUrlToFileWithRetry function to retry file downloads 3 times

This commit is contained in:
Henry Oswald
2020-05-14 13:09:57 +01:00
parent 7254a025ae
commit 0bd99a3edc
5 changed files with 153 additions and 109 deletions

View File

@@ -11,7 +11,6 @@
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
const Client = require('./helpers/Client')
const request = require('request')
require('chai').should()
const sinon = require('sinon')
const ClsiApp = require('./helpers/ClsiApp')