File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments