fix: remove unused body variable in permissions e2e test
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user