diff --git a/packages/server/src/websockets/index.ts b/packages/server/src/websockets/index.ts index 30693c2d25..9503041b15 100644 --- a/packages/server/src/websockets/index.ts +++ b/packages/server/src/websockets/index.ts @@ -10,12 +10,9 @@ let gridSocket: GridSocket | undefined let builderSocket: BuilderSocket | undefined export const initialise = (app: Koa, server: http.Server) => { - // currently we use ioredis-mock which doesn't work with the websocket system for testing - if (!env.isTest()) { - clientAppSocket = new ClientAppSocket(app, server) - gridSocket = new GridSocket(app, server) - builderSocket = new BuilderSocket(app, server) - } + clientAppSocket = new ClientAppSocket(app, server) + gridSocket = new GridSocket(app, server) + builderSocket = new BuilderSocket(app, server) } export { clientAppSocket, gridSocket, builderSocket }