From 9f9b085379ec778b7140a38e10cc7119ee128e99 Mon Sep 17 00:00:00 2001 From: Carlos Serrano Date: Fri, 18 Oct 2024 11:24:04 +0200 Subject: [PATCH] test:increase test suite timeout 5 seconds. Needed to be able to run the tests on windows --- test/test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.js b/test/test.js index aa9dffe..32905ff 100644 --- a/test/test.js +++ b/test/test.js @@ -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) + it('should send X-Response-Time header', function (done) { var server = createServer() request(server)