Skip to content

Commit

Permalink
fix type lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jerempy committed Oct 16, 2023
1 parent dbd4977 commit 43f5b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export async function sendWsMessage(
socket.onopen = (_event): void => {
socket.onmessage = (event): void => {
socket.terminate();
return resolve(<Buffer>event.data);
return resolve(event.data as Buffer);
};

socket.send(message);
Expand Down

0 comments on commit 43f5b72

Please sign in to comment.