Skip to content

Commit dea0c78

Browse files
committed
fixup! feat(http-client): Retry requests that failed with closed connection
1 parent 413061b commit dea0c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/StripeResource.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ describe('StripeResource', () => {
379379
it('throws on multiple closed connection errors', (done) => {
380380
nock(`https://${options.host}`)
381381
.post(options.path, options.params)
382-
.replyWithError({ code: 'ECONNRESET' })
382+
.replyWithError({code: 'ECONNRESET'})
383383
.post(options.path, options.params)
384-
.replyWithError({ code: 'ECONNRESET' });
384+
.replyWithError({code: 'ECONNRESET'});
385385

386386
realStripe.charges.create(options.data, (err) => {
387387
expect(err.detail.code).to.deep.equal('ECONNRESET');

0 commit comments

Comments
 (0)