diff --git a/packages/server/test/WebsocketTestModule.ts b/packages/server/test/WebsocketTestModule.ts index 61cea78..ad999ab 100644 --- a/packages/server/test/WebsocketTestModule.ts +++ b/packages/server/test/WebsocketTestModule.ts @@ -4,6 +4,7 @@ import { WebsocketGateway } from '../src/websocket/websocket.gateway' import { MongooseModule } from '@nestjs/mongoose' import { StoreQueuedMessageSchema, StoreQueuedMessage } from '../src/websocket/schemas/StoreQueuedMessage' import { StoreLiveSessionSchema, StoreLiveSession } from '../src/websocket/schemas/StoreLiveSession' +import { HttpModule } from '@nestjs/axios' @Module({ imports: [ @@ -11,6 +12,7 @@ import { StoreLiveSessionSchema, StoreLiveSession } from '../src/websocket/schem { name: StoreQueuedMessage.name, schema: StoreQueuedMessageSchema }, { name: StoreLiveSession.name, schema: StoreLiveSessionSchema }, ]), + HttpModule, ], providers: [WebsocketGateway, WebsocketService], })