diff --git a/test/utils.ts b/test/utils.ts index 0f66a5bd64..af190254ec 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -79,7 +79,7 @@ export const uploadFile = (user: any, path?: string): Promise => new Promis export function connectStream(user: any, channel: string, listener: (message: Record) => any, params?: any): Promise { return new Promise((res, rej) => { - const ws = new WebSocket(`ws://localhost/streaming?i=${user.token}`); + const ws = new WebSocket(`ws://localhost:8080/streaming?i=${user.token}`); ws.on('open', () => { ws.on('message', data => {