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 @@ -679,7 +679,7 @@ describe('hover on fill', function() {
679679 }
680680
681681 it ( 'should always show one label in the right place' , function ( done ) {
682- var mock = require ( '@mocks/scatter_fill_self_next.json' ) ;
682+ var mock = Lib . extendDeep ( { } , require ( '@mocks/scatter_fill_self_next.json' ) ) ;
683683 mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
684684
685685 Plotly . plot ( createGraphDiv ( ) , mock . data , mock . layout ) . then ( function ( ) {
@@ -692,7 +692,7 @@ describe('hover on fill', function() {
692692 } ) ;
693693
694694 it ( 'should work for scatterternary too' , function ( done ) {
695- var mock = require ( '@mocks/ternary_fill.json' ) ;
695+ var mock = Lib . extendDeep ( { } , require ( '@mocks/ternary_fill.json' ) ) ;
696696 mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
697697
698698 Plotly . plot ( createGraphDiv ( ) , mock . data , mock . layout ) . then ( function ( ) {
You can’t perform that action at this time.
0 commit comments