From d92285b203e97206a2ca570976cff9cb62eb7fa2 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 25 Oct 2019 06:43:58 +0900 Subject: [PATCH] fix ws port --- test/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => {