Skip to content

Commit

Permalink
test(eio-client): reduce test suite duration
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Sep 18, 2024
1 parent 09f573c commit 2194264
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/engine.io-client/test/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe("connection", function () {
setTimeout(() => {
expect(noPacket).to.be(true);
done();
}, 1200);
}, 200);
});
});

Expand Down Expand Up @@ -177,7 +177,7 @@ describe("connection", function () {
setTimeout(() => {
expect(noPacket).to.be(true);
done();
}, 1200);
}, 200);
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/engine.io-client/test/fixtures/no-unref.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const socket = new Socket("http://localhost:3000", {

setTimeout(() => {
console.log("process should not exit");
}, 500);
}, 50);
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ socket.on("open", () => {

setTimeout(() => {
console.log("process should exit now");
}, 500);
}, 50);
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ socket.on("open", () => {

setTimeout(() => {
console.log("process should exit now");
}, 500);
}, 50);
2 changes: 1 addition & 1 deletion packages/engine.io-client/test/fixtures/unref.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ socket.on("open", () => {

setTimeout(() => {
console.log("process should exit now");
}, 500);
}, 50);
2 changes: 1 addition & 1 deletion packages/engine.io-client/test/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("node.js", () => {
isComplete = true;
process.kill();
done();
}, 1000);
}, 100);
});
});

Expand Down

0 comments on commit 2194264

Please sign in to comment.