Skip to content

Commit

Permalink
increase timeout on tests that hit webook.site
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Jun 9, 2023
1 parent f1b3f6f commit 628bfd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('request', function () {
});

it('can read response headers', function (done) {
this.timeout(5000)
request('https://webhook.site')
.post('/token')
.end(function (err, res) {
Expand Down Expand Up @@ -92,6 +93,7 @@ describe('request', function () {
});

it('can be augmented with promises', function (done) {
this.timeout(5000)
let uuid = ''
request('https://webhook.site')
.post('/token')
Expand Down

0 comments on commit 628bfd0

Please sign in to comment.