Browse Source

fix: test spec for socket gateway

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/export-nest
mertmit 2 years ago
parent
commit
a417371362
  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