Skip to content

Commit

Permalink
fix the blob constructor argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting committed Nov 13, 2023
1 parent 085283f commit c840d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-ws-send.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const msgs = [
'PANG',
ab,
u8,
new Blob(ab)
new Blob([ab])
];
const url = 'wss://websocket-echo.com';
const ws = new WebSocket(url);
Expand Down

0 comments on commit c840d4c

Please sign in to comment.