Skip to content

Commit 67007fc

Browse files
committed
[test] Reduce message size from 20 MiB to 4 MiB
1 parent 8eb2c47 commit 67007fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/websocket.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2424,7 +2424,7 @@ describe('WebSocket', () => {
24242424

24252425
it('can send a big binary message', (done) => {
24262426
const wss = new WebSocket.Server({ port: 0 }, () => {
2427-
const array = new Float32Array(5 * 1024 * 1024);
2427+
const array = new Float32Array(1024 * 1024);
24282428

24292429
for (let i = 0; i < array.length; i++) {
24302430
array[i] = i / 5;

0 commit comments

Comments
 (0)