fixup: formatting
This commit is contained in:
parent
0fabb3a81d
commit
cbf00ae7aa
@ -73,11 +73,7 @@ describe(
|
||||
},
|
||||
)
|
||||
|
||||
describe(
|
||||
"VS Code Routes with no workspace or folder",
|
||||
["--disable-workspace-trust"],
|
||||
{},
|
||||
async () => {
|
||||
describe("VS Code Routes with no workspace or folder", ["--disable-workspace-trust"], {}, async () => {
|
||||
test("should redirect to last query folder/workspace", async ({ codeServerPage }) => {
|
||||
const folder = process.env.CODE_FOLDER_DIR
|
||||
const workspace = process.env.CODE_WORKSPACE_DIR
|
||||
@ -92,14 +88,9 @@ describe(
|
||||
expect(url.search).toBe(`?folder=${folder}&workspace=${workspace}`)
|
||||
}
|
||||
})
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
describe(
|
||||
"VS Code Routes with no workspace or folder",
|
||||
["--disable-workspace-trust"],
|
||||
{},
|
||||
async () => {
|
||||
describe("VS Code Routes with no workspace or folder", ["--disable-workspace-trust"], {}, async () => {
|
||||
test("should not redirect if ew passed in", async ({ codeServerPage }) => {
|
||||
const folder = process.env.CODE_FOLDER_DIR
|
||||
const workspace = process.env.CODE_WORKSPACE_DIR
|
||||
@ -111,5 +102,4 @@ describe(
|
||||
expect(url.pathname).toBe("/")
|
||||
expect(url.search).toBe("?ew=true")
|
||||
})
|
||||
},
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user