style: fix deno fmt and lint
Check Deno code / Check Deno code (pull_request) Failing after 7s
Tests / Unit tests (pull_request) Successful in 11s
Tests / Integration tests (pull_request) Successful in 54s

This commit is contained in:
2026-04-26 14:18:55 +02:00
parent 30486d7b48
commit 9b021de765
4 changed files with 18 additions and 6 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ Deno.test({
async fn() {
await truncateAll();
await seedRoles([{ nom: "admin" }, { nom: "employee" }]);
const res = await rolesHandler.GET!(makeGetRequest("/roles"), makeEmployeeContext());
const res = await rolesHandler.GET!(
makeGetRequest("/roles"),
makeEmployeeContext(),
);
assertEquals(res.status, 200);
const body = await res.json();
assertEquals(body.length, 2);