style: fix deno fmt and lint
Check Deno code / Check Deno code (pull_request) Successful in 6s
Tests / Unit tests (pull_request) Successful in 11s
Tests / Integration tests (pull_request) Successful in 58s

This commit is contained in:
2026-04-26 14:18:55 +02:00
committed by djalim
parent 9d6cfd4b08
commit c2579c334d
3 changed files with 15 additions and 5 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);