Skip to content

Commit 96d8c8f

Browse files
committed
[test] Increase timeout for failing tests on Windows
1 parent 08c6c8b commit 96d8c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/websocket.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ describe('WebSocket', () => {
13811381
ws.close();
13821382
ws.on('close', () => done());
13831383
});
1384-
});
1384+
}).timeout(4000);
13851385

13861386
it("can be called from a listener of the 'upgrade' event", (done) => {
13871387
const wss = new WebSocket.Server({ port: 0 }, () => {
@@ -1630,7 +1630,7 @@ describe('WebSocket', () => {
16301630
ws.terminate();
16311631
ws.on('close', () => done());
16321632
});
1633-
});
1633+
}).timeout(4000);
16341634

16351635
it("can be called from a listener of the 'upgrade' event", (done) => {
16361636
const wss = new WebSocket.Server({ port: 0 }, () => {

0 commit comments

Comments
 (0)