diff --git a/src/main/__test__/static-file-route.test.ts b/src/main/__test__/static-file-route.test.ts index 009c3c795e..85ea7e14c6 100644 --- a/src/main/__test__/static-file-route.test.ts +++ b/src/main/__test__/static-file-route.test.ts @@ -35,12 +35,10 @@ describe("static-file-route", () => { }); it("blocks path traversal attacks", async () => { - const request = { params: { path: "../index.ts", }, - response: {}, raw: {}, } as LensApiRequest; @@ -58,7 +56,6 @@ describe("static-file-route", () => { params: { path: "router.test.ts", }, - response: {}, raw: { req }, } as LensApiRequest;