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(
680
680
const compiler = webpack ( config ) ;
681
681
const server = new Server ( options , compiler ) ;
682
682
683
- tests . forEach ( ( test ) => {
684
- const headers = { host : test } ;
683
+ tests . forEach ( ( host ) => {
684
+ const headers = { host } ;
685
685
686
686
if ( ! server . checkHeader ( headers , "host" ) ) {
687
687
throw new Error ( "Validation didn't pass" ) ;
@@ -726,8 +726,8 @@ describe(
726
726
const webSocketRequests = [ ] ;
727
727
const session = await page . context ( ) . newCDPSession ( page ) ;
728
728
729
- session . on ( "Network.webSocketCreated" , ( test ) => {
730
- webSocketRequests . push ( test ) ;
729
+ session . on ( "Network.webSocketCreated" , ( payload ) => {
730
+ webSocketRequests . push ( payload ) ;
731
731
} ) ;
732
732
733
733
await session . send ( "Target.setAutoAttach" , {
You can’t perform that action at this time.
0 commit comments