Remove not needed properties from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-03-11 09:29:27 +02:00
1 parent db5873319f
commit 4e09ebdd33
1 file changed
-3
@@ -35,12 +35,10 @@ describe("static-file-route", () => {
});
it("blocks path traversal attacks", async () => {
const request = {
params: {
path: "../index.ts",
},
response: {},
raw: {},
} as LensApiRequest<any>;
@@ -58,7 +56,6 @@ describe("static-file-route", () => {
params: {
path: "router.test.ts",
},
response: {},
raw: { req },
} as LensApiRequest<any>;