Skip to content

Commit af2792f

Browse files
committed
fixup
1 parent 0113397 commit af2792f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

test/e2e/baseFixture.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ import { CodeServer, CodeServerPage } from "./models/CodeServer"
99
*
1010
* If `includeCredentials` is `true` page requests will be authenticated.
1111
*/
12-
export const describe = (name: string, includeCredentials: boolean, codeServerArgs: string[], fn: (codeServer: CodeServer) => void) => {
12+
export const describe = (
13+
name: string,
14+
includeCredentials: boolean,
15+
codeServerArgs: string[],
16+
fn: (codeServer: CodeServer) => void,
17+
) => {
1318
test.describe(name, () => {
1419
// This will spawn on demand so nothing is necessary on before.
1520
const codeServer = new CodeServer(name, codeServerArgs)
@@ -37,7 +42,7 @@ export const describe = (name: string, includeCredentials: boolean, codeServerAr
3742
// This provides a cookie that authenticates with code-server.
3843
storageState: includeCredentials ? storageState : {},
3944
// TODO@jsjoeio add note why we do this for testing cert stuff
40-
ignoreHTTPSErrors: true
45+
ignoreHTTPSErrors: true,
4146
})
4247

4348
fn(codeServer)

test/e2e/extensions.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function runTestExtensionTests() {
77

88
await codeServerPage.executeCommandViaMenus("code-server: Get proxy URI")
99

10-
// Click span:has-text("https://localhost:57989/proxy/{{port}}")
10+
// Click span:has-text("https://localhost:57989/proxy/{{port}}")
1111
await codeServerPage.page.waitForSelector(`span:has-text("${address}/proxy/{{port}}")`)
1212
})
1313
}
@@ -18,4 +18,4 @@ describe("Extensions", true, [], () => {
1818

1919
describe("Extensions with --cert", true, ["--cert"], () => {
2020
runTestExtensionTests()
21-
})
21+
})

0 commit comments

Comments
 (0)