Skip to content

Commit

Permalink
test: Fix websocketTestModule added HttpModule into imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmatau79 committed Nov 13, 2024
1 parent 14777bd commit 2c5e5a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/test/WebsocketTestModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ 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: [
MongooseModule.forFeature([
{ name: StoreQueuedMessage.name, schema: StoreQueuedMessageSchema },
{ name: StoreLiveSession.name, schema: StoreLiveSessionSchema },
]),
HttpModule,
],
providers: [WebsocketGateway, WebsocketService],
})
Expand Down

0 comments on commit 2c5e5a8

Please sign in to comment.