@@ -1260,7 +1260,7 @@ describe('legend interaction', function() {
1260
1260
item . dispatchEvent ( new MouseEvent ( 'mousedown' ) ) ;
1261
1261
item . dispatchEvent ( new MouseEvent ( 'mouseup' ) ) ;
1262
1262
}
1263
- setTimeout ( resolve , DBLCLICKDELAY + 20 ) ;
1263
+ setTimeout ( resolve , DBLCLICKDELAY + 100 ) ;
1264
1264
} ) ;
1265
1265
} ;
1266
1266
}
@@ -1682,6 +1682,7 @@ describe('legend interaction', function() {
1682
1682
'legend.itemdoubleclick' : false
1683
1683
} ) ;
1684
1684
} )
1685
+ . then ( delay ( 100 ) )
1685
1686
. then ( click ( 0 , 1 ) ) . then ( _assert ( [ true , true , true ] ) )
1686
1687
. then ( click ( 0 , 2 ) ) . then ( _assert ( [ true , true , true ] ) )
1687
1688
. then ( function ( ) {
@@ -1690,6 +1691,7 @@ describe('legend interaction', function() {
1690
1691
'legend.itemdoubleclick' : 'toggle'
1691
1692
} ) ;
1692
1693
} )
1694
+ . then ( delay ( 100 ) )
1693
1695
. then ( click ( 0 , 1 ) ) . then ( _assert ( [ true , 'legendonly' , 'legendonly' ] ) )
1694
1696
. then ( click ( 0 , 1 ) ) . then ( _assert ( [ true , true , true ] ) )
1695
1697
. then ( click ( 0 , 2 ) ) . then ( _assert ( [ 'legendonly' , true , true ] ) )
@@ -1707,7 +1709,7 @@ describe('legend interaction', function() {
1707
1709
. then ( run )
1708
1710
. catch ( failTest )
1709
1711
. then ( done ) ;
1710
- } ) ;
1712
+ } , 2 * jasmine . DEFAULT_TIMEOUT_INTERVAL ) ;
1711
1713
1712
1714
it ( '- pie case' , function ( done ) {
1713
1715
_assert = function ( _exp ) {
@@ -1728,7 +1730,7 @@ describe('legend interaction', function() {
1728
1730
. then ( run )
1729
1731
. catch ( failTest )
1730
1732
. then ( done ) ;
1731
- } ) ;
1733
+ } , 2 * jasmine . DEFAULT_TIMEOUT_INTERVAL ) ;
1732
1734
} ) ;
1733
1735
} ) ;
1734
1736
} ) ;
0 commit comments