style: fix deno fmt and lint

This commit is contained in:
2026-04-26 14:18:55 +02:00
parent b681f639a6
commit 3b2f7df124
4 changed files with 45 additions and 11 deletions
+8 -2
View File
@@ -17,8 +17,14 @@ Deno.test({
name: "e2e modules: GET /modules returns all as employee",
async fn() {
await truncateAll();
await seedModules([{ id: "MATH101", nom: "Mathématiques" }, { id: "INFO101", nom: "Informatique" }]);
const res = await modulesHandler.GET!(makeGetRequest("/modules"), makeEmployeeContext());
await seedModules([{ id: "MATH101", nom: "Mathématiques" }, {
id: "INFO101",
nom: "Informatique",
}]);
const res = await modulesHandler.GET!(
makeGetRequest("/modules"),
makeEmployeeContext(),
);
assertEquals(res.status, 200);
const body = await res.json();
assertEquals(body.length, 2);