(...gateways)
| 9 | import { ServerGateway } from '../src/server.gateway'; |
| 10 | |
| 11 | async function createNestApp(...gateways): Promise<INestApplication> { |
| 12 | const testingModule = await Test.createTestingModule({ |
| 13 | providers: gateways, |
| 14 | }).compile(); |
| 15 | const app = testingModule.createNestApplication(); |
| 16 | return app; |
| 17 | } |
| 18 | |
| 19 | describe('WebSocketGateway', () => { |
| 20 | let ws: ReturnType<typeof io>, app: INestApplication; |
no test coverage detected