Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Jun 2, 2023
1 parent d71aa88 commit 363ae56
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/RequestSender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,6 @@ describe('RequestSender', () => {
});

it('should retry on a 409 error', (done) => {
global.debug = true;
nock(`https://${options.host}`)
.post(options.path, options.params)
.reply(409, {
Expand All @@ -674,7 +673,6 @@ describe('RequestSender', () => {
realStripe._setApiNumberField('maxNetworkRetries', 1);

realStripe.charges.create(options.data, (err, charge) => {
global.debug = false;
expect(charge.id).to.equal('ch_123');
done(err);
});
Expand Down

0 comments on commit 363ae56

Please sign in to comment.