From 2c5e5a805a9295fbcaeaa5fdcbc8da9a7f72e9d1 Mon Sep 17 00:00:00 2001 From: Gabriel Mata Date: Wed, 13 Nov 2024 18:26:06 -0500 Subject: [PATCH] test: Fix websocketTestModule added HttpModule into imports --- packages/server/test/WebsocketTestModule.ts | 2 ++ 1 file changed, 2 insertions(+) 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], })