2025SELab2-project-Dwengo/frontend/tests/controllers/student-controller.test.ts
Tibo De Peuter cbd214c445
test(frontend): Student controller
Co-authored-by: Gabriellvl <vanlangenhovefga@gmail.com>
2025-04-17 11:46:57 +02:00

8 lines
296 B
TypeScript

import { StudentController } from '../../src/controllers/students';
import { expect, it } from 'vitest';
it('Get students', async () => {
const controller = new StudentController();
const data = await controller.getAll(true);
expect(data.students).to.have.length.greaterThan(0);
});