1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove not needed properties from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-02-14 15:42:32 +02:00
parent db5873319f
commit 4e09ebdd33
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -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>;