File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,16 @@ function sync_args_from_cmd(args) {
377377 lt_config [ "run_settings" ] [ "network_ws" ] = false ;
378378 }
379379
380+ if ( "network_sse" in args ) {
381+ if ( args [ "network_sse" ] == "true" ) {
382+ lt_config . run_settings . network_sse = true ;
383+ } else {
384+ lt_config . run_settings . network_sse = false ;
385+ }
386+ } else if ( lt_config [ "run_settings" ] [ "network_sse" ] && ! lt_config [ "run_settings" ] [ "network_sse" ] ) {
387+ lt_config [ "run_settings" ] [ "network_sse" ] = false ;
388+ }
389+
380390 if ( "headless" in args ) {
381391 lt_config [ "run_settings" ] [ "headless" ] = args [ "headless" ] ;
382392 } else if ( ! lt_config [ "run_settings" ] [ "headless" ] ) {
Original file line number Diff line number Diff line change @@ -222,7 +222,12 @@ const argv = require("yargs")
222222 alias : "network_ws" ,
223223 describe : "Bypass web socket calls for Network logs" ,
224224 type : "bool" ,
225- } ) ;
225+ } )
226+ . option ( "net_sse" , {
227+ alias : "network_sse" ,
228+ describe : "Bypass sse events calls for Network logs" ,
229+ type : "bool" ,
230+ } ) ; ;
226231 } ,
227232 function ( argv ) {
228233 require ( "./commands/run" ) ( argv ) ;
You can’t perform that action at this time.
0 commit comments