Skip to content

Commit 2a1bfc8

Browse files
committed
Run formatter
1 parent f3ae74b commit 2a1bfc8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/unit/node/routes/errors.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ describe("error page is rendered for text/html requests", () => {
3434
} as unknown as express.Response
3535

3636
await errorHandler(err, req, res, jest.fn())
37-
expect(res.send).toHaveBeenCalledWith(
38-
expect.stringContaining("<title>404 - MyCodeServer</title>"),
39-
)
37+
expect(res.send).toHaveBeenCalledWith(expect.stringContaining("<title>404 - MyCodeServer</title>"))
4038
})
4139

4240
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", () => {
5250
} as unknown as express.Response
5351

5452
await errorHandler(err, req, res, jest.fn())
55-
expect(res.send).toHaveBeenCalledWith(
56-
expect.stringContaining("<title>500 - code-server</title>"),
57-
)
53+
expect(res.send).toHaveBeenCalledWith(expect.stringContaining("<title>500 - code-server</title>"))
5854
})
5955
})
6056

0 commit comments

Comments
 (0)