Skip to content

Commit

Permalink
test:increase test suite timeout 5 seconds. Needed to be able to run …
Browse files Browse the repository at this point in the history
…the tests on windows
  • Loading branch information
carpasse committed Oct 18, 2024
1 parent 0cf4545 commit d060ddf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ var request = require('supertest')
var responseTime = require('..')

describe('responseTime()', function () {
// Set the timeout to 5 seconds or the ci tests will randomly fail on windows due to timeouts
this.timeout(5000);

Check failure on line 12 in test/test.js

View workflow job for this annotation

GitHub Actions / Lint

Extra semicolon

it('should send X-Response-Time header', function (done) {
var server = createServer()
request(server)
Expand Down

0 comments on commit d060ddf

Please sign in to comment.