File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ describe("Browser functions", function () {
4747 return {
4848 width : width || 12 ,
4949 height : height || 34 ,
50- executeJsTimeout : 10
50+ executeJsTimeout : 100
5151 } ;
5252 } ;
5353
@@ -176,7 +176,7 @@ describe("Browser functions", function () {
176176 } ) ;
177177
178178 it ( "should support window.matchMedia() with 'width' media queries" , function ( done ) {
179- doc . documentElement . innerHTML = '<body onload="setTimeout(function () {document.body.innerHTML = window.matchMedia(\'(min-width: 30px)\').matches; }, 0 );"></body>' ;
179+ doc . documentElement . innerHTML = '<body onload="setTimeout(function () {document.body.innerHTML = window.matchMedia(\'(min-width: 30px)\').matches; }, 10 );"></body>' ;
180180
181181 browser . executeJavascript ( doc . documentElement , optionsWithViewport ( 42 , 21 ) ) . then ( function ( result ) {
182182 expect ( result . document . body . innerHTML ) . toEqual ( 'true' ) ;
You can’t perform that action at this time.
0 commit comments