fix: remove unused body variable in permissions e2e test
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 1m19s
Check Deno code / Check Deno code (push) Successful in 6s
Tests / Unit tests (push) Successful in 11s
Tests / Integration tests (push) Successful in 1m7s

This commit was merged in pull request #144.
This commit is contained in:
2026-04-26 14:19:26 +02:00
committed by djalim
parent 86080b8042
commit a3b55d0a1b
-2
View File
@@ -13,8 +13,6 @@ Deno.test({
makeEmployeeContext(), makeEmployeeContext(),
); );
assertEquals(res.status, 200); assertEquals(res.status, 200);
const body = JSON.parse(res.body ? "" : "[]");
// handler returns synchronously — parse via text
return res.text().then((text) => { return res.text().then((text) => {
const data = JSON.parse(text); const data = JSON.parse(text);
assertEquals(data.length, 9); assertEquals(data.length, 9);