Removing checks around websockets as redis properly available in testing now.
This commit is contained in:
parent
969ee52c29
commit
16e929bd81
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue