Browse Source

fix: test spec for socket gateway

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/export-nest-dir-restructure
mertmit 2 years ago committed by starbirdtech383
parent
commit
486ce5f3f4
  1. 19
      packages/nocodb-nest/src/services/socket.gateway.spec.ts

19
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>(SocketGateway);
});
it('should be defined', () => {
expect(gateway).toBeDefined();
});
});
Loading…
Cancel
Save