Skip to content

Commit 29694a5

Browse files
committed
[test] Use the highWaterMark variable
Use the value of the `highWaterMark` variable instead of `16384`.
1 parent 934c9d6 commit 29694a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/create-websocket-stream.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ describe('createWebSocketStream', () => {
604604
});
605605

606606
wss.on('connection', (ws) => {
607-
ws.send(randomBytes(16 * 1024));
607+
ws.send(randomBytes(highWaterMark));
608608
});
609609
});
610610
});

0 commit comments

Comments
 (0)