traintrape-moi/server/src/players/players.controller.spec.ts
2024-12-08 13:41:37 +01:00

21 lines
576 B
TypeScript

import { Test, TestingModule } from '@nestjs/testing'
import { PlayersController } from './players.controller'
import { PlayersService } from './players.service'
describe('PlayersController', () => {
let controller: PlayersController
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [PlayersController],
providers: [PlayersService],
}).compile()
controller = module.get<PlayersController>(PlayersController)
})
it('should be defined', () => {
expect(controller).toBeDefined()
})
})