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.
18 lines
451 B
18 lines
451 B
import { Test, type 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();
|
|
});
|
|
});
|
|
|