fix: remove unused body variable in permissions e2e test
Check Deno code / Check Deno code (pull_request) Successful in 5s
Tests / Unit tests (pull_request) Successful in 11s
Tests / Integration tests (pull_request) Successful in 57s

This commit is contained in:
2026-04-26 14:19:26 +02:00
committed by djalim
parent 0f32cee620
commit f672d6467b
-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);