@@ -18,7 +18,7 @@ describe("express error handling", () => {
1818 errorHandlerCalled = undefined ;
1919 errorHandledSpecifically = undefined ;
2020 } ) ;
21-
21+
2222 before ( ( ) => {
2323
2424 // reset metadata args storage
@@ -29,7 +29,7 @@ describe("express error handling", () => {
2929
3030 error ( error : any , request : any , response : any , next ?: Function ) : any {
3131 errorHandlerCalled = true ;
32- console . log ( " ERROR HANDLED GLOBALLY: " , error ) ;
32+ // ERROR HANDLED GLOBALLY
3333 next ( error ) ;
3434 }
3535
@@ -39,7 +39,7 @@ describe("express error handling", () => {
3939
4040 error ( error : any , request : any , response : any , next ?: Function ) : any {
4141 errorHandledSpecifically = true ;
42- console . log ( " ERROR HANDLED SPECIFICALLY: " , error ) ;
42+ // ERROR HANDLED SPECIFICALLY
4343 next ( error ) ;
4444 }
4545
@@ -48,7 +48,7 @@ describe("express error handling", () => {
4848 class SoftErrorHandler implements ExpressErrorMiddlewareInterface {
4949
5050 error ( error : any , request : any , response : any , next ?: Function ) : any {
51- console . log ( " ERROR WAS IGNORED: " , error ) ;
51+ // ERROR WAS IGNORED
5252 next ( ) ;
5353 }
5454
@@ -96,7 +96,7 @@ describe("express error handling", () => {
9696 photos ( ) {
9797 return "1234" ;
9898 }
99-
99+
100100 }
101101 } ) ;
102102
0 commit comments