Skip to content

Commit

Permalink
[test] Use the highWaterMark variable
Browse files Browse the repository at this point in the history
Use the value of the `highWaterMark` variable instead of `16384`.
  • Loading branch information
lpinca committed Apr 26, 2024
1 parent 934c9d6 commit 29694a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/create-websocket-stream.test.js
Expand Up @@ -604,7 +604,7 @@ describe('createWebSocketStream', () => {
});

wss.on('connection', (ws) => {
ws.send(randomBytes(16 * 1024));
ws.send(randomBytes(highWaterMark));
});
});
});
Expand Down

0 comments on commit 29694a5

Please sign in to comment.