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() {
776776 plot ( undefined ) . then ( function ( ) {
777777 expect ( gd . _context . scrollZoom ) . toBe ( 'gl3d+geo+mapbox' ) ;
778778 expect ( gd . _context . _scrollZoom ) . toEqual ( { gl3d : 1 , geo : 1 , mapbox : 1 } ) ;
779+ expect ( gd . _context . _scrollZoom . cartesian ) . toBe ( undefined , 'no cartesian!' ) ;
779780 } )
780781 . catch ( failTest )
781782 . then ( done ) ;
@@ -785,6 +786,7 @@ describe('config argument', function() {
785786 plot ( { scrollZoom : null } ) . then ( function ( ) {
786787 expect ( gd . _context . scrollZoom ) . toBe ( null ) ;
787788 expect ( gd . _context . _scrollZoom ) . toEqual ( { gl3d : 1 , geo : 1 , mapbox : 1 } ) ;
789+ expect ( gd . _context . _scrollZoom . cartesian ) . toBe ( undefined , 'no cartesian!' ) ;
788790 } )
789791 . catch ( failTest )
790792 . then ( done ) ;
You can’t perform that action at this time.
0 commit comments