@@ -557,7 +557,7 @@ describe("proxy option", () => {
557557
558558 const proxy = express ( ) ;
559559
560- proxy . get ( "*" , ( proxyReq , res ) => {
560+ proxy . get ( "*slug " , ( proxyReq , res ) => {
561561 res . send ( "from proxy" ) ;
562562 } ) ;
563563
@@ -692,7 +692,7 @@ describe("proxy option", () => {
692692
693693 // This forces Express to try to decode URLs, which is needed for the test
694694 // associated with the middleware below.
695- proxy . all ( "*" , ( _req , res , next ) => {
695+ proxy . all ( "*slug " , ( _req , res , next ) => {
696696 next ( ) ;
697697 } ) ;
698698 // We must define all 4 params in order for this to be detected as an
@@ -883,7 +883,7 @@ describe("proxy option", () => {
883883 } ) ;
884884 } ) ;
885885
886- describe ( "should work and respect the `logLevel ` option with `silent` value" , ( ) => {
886+ describe ( "should work and respect the `logger ` option with `silent` value" , ( ) => {
887887 let server ;
888888 let req ;
889889 let customLogProvider ;
@@ -905,8 +905,7 @@ describe("proxy option", () => {
905905 {
906906 context : "my-path" ,
907907 target : "http://unknown:1234" ,
908- logProvider : ( ) => customLogProvider ,
909- logLevel : "silent" ,
908+ logger : ( ) => customLogProvider ,
910909 } ,
911910 ] ,
912911 port : port3 ,
@@ -960,7 +959,7 @@ describe("proxy option", () => {
960959 {
961960 context : "/my-path" ,
962961 target : "http://unknown:1234" ,
963- logProvider : ( ) => customLogProvider ,
962+ logger : customLogProvider ,
964963 } ,
965964 ] ,
966965 port : port3 ,
@@ -1014,7 +1013,7 @@ describe("proxy option", () => {
10141013 {
10151014 context : "/my-path" ,
10161015 target : "http://unknown:1234" ,
1017- logProvider : ( ) => customLogProvider ,
1016+ logger : customLogProvider ,
10181017 } ,
10191018 ] ,
10201019 port : port3 ,
0 commit comments