Skip to content

Commit

Permalink
[test] Increase timeout for failing tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Oct 6, 2019
1 parent 08c6c8b commit 96d8c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/websocket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ describe('WebSocket', () => {
ws.close();
ws.on('close', () => done());
});
});
}).timeout(4000);

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

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

0 comments on commit 96d8c8f

Please sign in to comment.