File tree 1 file changed +2
-2
lines changed
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() {
679
679
}
680
680
681
681
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' ) ) ;
683
683
mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
684
684
685
685
Plotly . plot ( createGraphDiv ( ) , mock . data , mock . layout ) . then ( function ( ) {
@@ -692,7 +692,7 @@ describe('hover on fill', function() {
692
692
} ) ;
693
693
694
694
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' ) ) ;
696
696
mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
697
697
698
698
Plotly . plot ( createGraphDiv ( ) , mock . data , mock . layout ) . then ( function ( ) {
You can’t perform that action at this time.
0 commit comments