mirror of
https://github.com/coder/code-server.git
synced 2026-09-02 08:30:17 +02:00
Use const for unmutated let
This commit is contained in:
@@ -38,7 +38,7 @@ describe("vscode", () => {
|
|||||||
|
|
||||||
it("should require auth", async () => {
|
it("should require auth", async () => {
|
||||||
codeServer = await integration.setup(["--auth=password"], "")
|
codeServer = await integration.setup(["--auth=password"], "")
|
||||||
let resp = await codeServer.fetch("/mint-key", { method: "POST" })
|
const resp = await codeServer.fetch("/mint-key", { method: "POST" })
|
||||||
expect(resp.status).toBe(401)
|
expect(resp.status).toBe(401)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user