You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
429 B

2 years ago
import { Test, TestingModule } from '@nestjs/testing';
import { PongGateway } from './pong.gateway';
describe('PongGateway', () => {
let gateway: PongGateway;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [PongGateway]
}).compile();
gateway = module.get<PongGateway>(PongGateway);
});
it('should be defined', () => {
expect(gateway).toBeDefined();
});
});