This repository has been archived on 2025-09-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025SELab2-project-Dwengo/frontend/tests/controllers/student-controller.test.ts
2025-04-17 10:11:42 +00: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);
});