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:
parent
db5873319f
commit
4e09ebdd33
@ -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>;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user