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
415 B
18 lines
415 B
import { Test, type TestingModule } from "@nestjs/testing";
|
|
import { Games } from "./game/Games";
|
|
|
|
describe("Pong", () => {
|
|
let provider: Games;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [Games],
|
|
}).compile();
|
|
|
|
provider = module.get<Games>(Games);
|
|
});
|
|
|
|
it("should be defined", () => {
|
|
expect(provider).toBeDefined();
|
|
});
|
|
});
|
|
|