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 59s
Check Deno code / Check Deno code (push) Successful in 6s
Tests / Unit tests (push) Successful in 11s
Tests / Integration tests (push) Successful in 1m2s

This commit was merged in pull request #142.
This commit is contained in:
2026-04-26 14:18:55 +02:00
committed by djalim
parent e75098083a
commit f038e4020b
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);