refactor: add constants.ts with PASSWORD, etc

This commit is contained in:
Joe Previte
2021-02-12 12:08:34 -07:00
parent 5857b25079
commit b0fd55463b
6 changed files with 16 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ afterEach(async () => {
})
it("should see the login page", async () => {
await page.goto("http://localhost:8080")
await page.goto(process.env)
// It should send us to the login page
expect(await page.title()).toBe("code-server login")
})