diff --git a/packages/nocodb-nest/src/services/socket.gateway.spec.ts b/packages/nocodb-nest/src/services/socket.gateway.spec.ts new file mode 100644 index 0000000000..f31b6b0929 --- /dev/null +++ b/packages/nocodb-nest/src/services/socket.gateway.spec.ts @@ -0,0 +1,19 @@ +import { Test } from '@nestjs/testing'; +import { SocketGateway } from './socket.gateway'; +import type { TestingModule } from '@nestjs/testing'; + +describe('SocketGateway', () => { + let gateway: SocketGateway; + + beforeEach(async () => { + const module: TestingModule = await Test.createTestingModule({ + providers: [SocketGateway], + }).compile(); + + gateway = module.get(SocketGateway); + }); + + it('should be defined', () => { + expect(gateway).toBeDefined(); + }); +});