Skip to content

Commit

Permalink
[test] Reduce message size from 20 MiB to 4 MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Aug 21, 2023
1 parent 8eb2c47 commit 67007fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/websocket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,7 @@ describe('WebSocket', () => {

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

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

0 comments on commit 67007fc

Please sign in to comment.