- Framework: NestJS avec TypeORM - Authentification: JWT (access + refresh tokens) - Gestion utilisateurs: CRUD complet avec validation - Routes: auth, users, parents, assistantes maternelles - Dockerfile pour conteneurisation
19 lines
478 B
TypeScript
19 lines
478 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { AuthController } from './auth.controller';
|
|
|
|
describe('AuthController', () => {
|
|
let controller: AuthController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [AuthController],
|
|
}).compile();
|
|
|
|
controller = module.get<AuthController>(AuthController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|