Skip to content

Commit a1d2778

Browse files
committed
socket: shorten two tests
"process them later" test and "broken off" test
1 parent c0b6e3f commit a1d2778

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/socket/src/queueingstreamingsocket.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe("QueueingStreamingSocket", () => {
6565
setTimeout(() => {
6666
expect(socket.getQueueLength()).toEqual(3);
6767
socket.connect();
68-
}, 5_000);
68+
}, 3_000);
6969

7070
return ret;
7171
});

packages/socket/src/reconnectingsocket.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ describe("ReconnectingSocket", () => {
203203
fail(startError);
204204
}
205205
});
206-
}, 2000);
207-
}, 2000);
206+
}, 1000);
207+
}, 1000);
208208
});
209209
}, 1000);
210210

0 commit comments

Comments
 (0)