@@ -11,8 +11,8 @@ describe('yes', () => {
1111 // Configure a minimal web server with the defaults
1212 const app = express ( ) ;
1313 app . use ( yes ( ) ) ;
14- app . get ( '/test' , ( req , res ) => {
15- res . sendStatus ( 200 ) ;
14+ app . get ( '/test' , ( request_ , response ) => {
15+ response . sendStatus ( 200 ) ;
1616 } ) ;
1717
1818 // Verify the request returns a 301
@@ -32,8 +32,8 @@ describe('yes', () => {
3232 // Configure a minimal web server with the defaults
3333 const app = express ( ) ;
3434 app . use ( yes ( ) ) ;
35- app . get ( '/test' , ( req , res ) => {
36- res . sendStatus ( 200 ) ;
35+ app . get ( '/test' , ( _request , response ) => {
36+ response . sendStatus ( 200 ) ;
3737 } ) ;
3838
3939 // Verify the request returns the right header when using https
@@ -56,13 +56,13 @@ describe('yes', () => {
5656 // Configure a minimal web server with the defaults
5757 const app = express ( ) ;
5858 app . use ( yes ( {
59- ignoreFilter : req => {
60- return ( req . url . includes ( '/_ah/health' ) ) ;
59+ ignoreFilter : request_ => {
60+ return ( request_ . url . includes ( '/_ah/health' ) ) ;
6161 }
6262 } ) ) ;
6363
64- app . get ( '/_ah/health' , ( req , res ) => {
65- res . sendStatus ( 200 ) ;
64+ app . get ( '/_ah/health' , ( _request , response ) => {
65+ response . sendStatus ( 200 ) ;
6666 } ) ;
6767
6868 // Verify the request returns a 200 for health checks
0 commit comments