chore: allow upstream TestServerConnection with 'ws' Node.js module (#35367)

This commit is contained in:
Max Schmitt 2025-03-26 14:55:48 +01:00 committed by GitHub
parent 45fa3d17fc
commit ef5e166fa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export class WebSocketTestServerTransport implements TestServerTransport {
}
onmessage(listener: (message: string) => void) {
this._ws.addEventListener('message', event => listener(event.data));
this._ws.addEventListener('message', event => listener(event.data.toString()));
}
onopen(listener: () => void) {