File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -776,6 +776,7 @@ describe('config argument', function() {
776
776
plot ( undefined ) . then ( function ( ) {
777
777
expect ( gd . _context . scrollZoom ) . toBe ( 'gl3d+geo+mapbox' ) ;
778
778
expect ( gd . _context . _scrollZoom ) . toEqual ( { gl3d : 1 , geo : 1 , mapbox : 1 } ) ;
779
+ expect ( gd . _context . _scrollZoom . cartesian ) . toBe ( undefined , 'no cartesian!' ) ;
779
780
} )
780
781
. catch ( failTest )
781
782
. then ( done ) ;
@@ -785,6 +786,7 @@ describe('config argument', function() {
785
786
plot ( { scrollZoom : null } ) . then ( function ( ) {
786
787
expect ( gd . _context . scrollZoom ) . toBe ( null ) ;
787
788
expect ( gd . _context . _scrollZoom ) . toEqual ( { gl3d : 1 , geo : 1 , mapbox : 1 } ) ;
789
+ expect ( gd . _context . _scrollZoom . cartesian ) . toBe ( undefined , 'no cartesian!' ) ;
788
790
} )
789
791
. catch ( failTest )
790
792
. then ( done ) ;
You can’t perform that action at this time.
0 commit comments