Run formatter

This commit is contained in:
Asher 2026-03-11 13:12:22 -08:00
parent f3ae74b223
commit 2a1bfc86f8
No known key found for this signature in database
GPG key ID: D63C1EF81242354A

View file

@ -34,9 +34,7 @@ describe("error page is rendered for text/html requests", () => {
} as unknown as express.Response
await errorHandler(err, req, res, jest.fn())
expect(res.send).toHaveBeenCalledWith(
expect.stringContaining("<title>404 - MyCodeServer</title>"),
)
expect(res.send).toHaveBeenCalledWith(expect.stringContaining("<title>404 - MyCodeServer</title>"))
})
it("should use default 'code-server' when app-name is not set", async () => {
@ -52,9 +50,7 @@ describe("error page is rendered for text/html requests", () => {
} as unknown as express.Response
await errorHandler(err, req, res, jest.fn())
expect(res.send).toHaveBeenCalledWith(
expect.stringContaining("<title>500 - code-server</title>"),
)
expect(res.send).toHaveBeenCalledWith(expect.stringContaining("<title>500 - code-server</title>"))
})
})