fix eslint errors

This commit is contained in:
Brian Gough
2020-06-02 09:51:34 +01:00
parent 440ec5553e
commit 2211ebcefb
4 changed files with 44 additions and 45 deletions

View File

@@ -48,7 +48,7 @@ describe('UrlFetcher', function() {
})
it('should call pipeUrlToFile multiple times on error', function(done) {
error = new Error("couldn't download file")
const error = new Error("couldn't download file")
this.UrlFetcher.pipeUrlToFile.callsArgWith(2, error)
this.UrlFetcher.pipeUrlToFileWithRetry(this.url, this.path, err => {
expect(err).to.equal(error)