MCPcopy
hub / github.com/nestjs/nest / createNestApp

Function createNestApp

integration/websockets/e2e/gateway-ack.spec.ts:7–13  ·  view source on GitHub ↗
(...gateways)

Source from the content-addressed store, hash-verified

5import { AckGateway } from '../src/ack.gateway';
6
7async function createNestApp(...gateways): Promise<INestApplication> {
8 const testingModule = await Test.createTestingModule({
9 providers: gateways,
10 }).compile();
11 const app = testingModule.createNestApplication();
12 return app;
13}
14
15describe('WebSocketGateway (ack)', () => {
16 let ws, app;

Callers 1

Calls 3

createTestingModuleMethod · 0.80
createNestApplicationMethod · 0.80
compileMethod · 0.45

Tested by

no test coverage detected