File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -680,8 +680,8 @@ describe(
680680 const compiler = webpack ( config ) ;
681681 const server = new Server ( options , compiler ) ;
682682
683- tests . forEach ( ( test ) => {
684- const headers = { host : test } ;
683+ tests . forEach ( ( host ) => {
684+ const headers = { host } ;
685685
686686 if ( ! server . checkHeader ( headers , "host" ) ) {
687687 throw new Error ( "Validation didn't pass" ) ;
@@ -726,8 +726,8 @@ describe(
726726 const webSocketRequests = [ ] ;
727727 const session = await page . context ( ) . newCDPSession ( page ) ;
728728
729- session . on ( "Network.webSocketCreated" , ( test ) => {
730- webSocketRequests . push ( test ) ;
729+ session . on ( "Network.webSocketCreated" , ( payload ) => {
730+ webSocketRequests . push ( payload ) ;
731731 } ) ;
732732
733733 await session . send ( "Target.setAutoAttach" , {
You can’t perform that action at this time.
0 commit comments