File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ async function runCoverage () {
111111 } )
112112 const page = await browser . newPage ( )
113113
114+ log . info ( `Opening (X)HTML file (may take a few minutes)` )
115+ log . debug ( `Opening "${ url } "` )
116+ await page . goto ( url )
117+ log . debug ( `Opened "${ url } "` )
118+
114119 const browserLog = log . child ( { browser : 'console' } )
115120 page . on ( 'console' , msg => {
116121 switch ( msg . type ( ) ) {
@@ -141,11 +146,6 @@ async function runCoverage () {
141146 process . exit ( STATUS_CODE . ERROR )
142147 } )
143148
144- log . info ( `Opening (X)HTML file (may take a few minutes)` )
145- log . debug ( `Opening "${ url } "` )
146- await page . goto ( url )
147- log . debug ( `Opened "${ url } "` )
148-
149149 log . debug ( `Adding sizzleJS` )
150150 await page . mainFrame ( ) . addScriptTag ( {
151151 path : require . resolve ( 'sizzle' )
You can’t perform that action at this time.
0 commit comments