Archived
1
0

fixup: formatting

This commit is contained in:
Joe Previte 2022-12-21 12:18:38 -07:00
parent 0fabb3a81d
commit cbf00ae7aa
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -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")
})
},
)
})