Skip to content

Commit d5064ff

Browse files
committed
no need for new sunburst/cartesian mock, use display-text_zero-number
1 parent 1ffcdca commit d5064ff

File tree

3 files changed

+2
-123
lines changed

3 files changed

+2
-123
lines changed
-31.8 KB
Binary file not shown.

test/image/mocks/sunburst_pie_cartesian.json

Lines changed: 0 additions & 121 deletions
This file was deleted.

test/jasmine/tests/sunburst_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ describe('Test sunburst interactions edge cases', function() {
11621162
});
11631163

11641164
it('should transition sunburst traces only', function(done) {
1165-
var mock = Lib.extendDeep({}, require('@mocks/sunburst_pie_cartesian.json'));
1165+
var mock = Lib.extendDeep({}, require('@mocks/display-text_zero-number.json'));
11661166
mock.data[0].visible = false;
11671167

11681168
function _assert(msg, exp) {
@@ -1197,7 +1197,7 @@ describe('Test sunburst interactions edge cases', function() {
11971197
});
11981198

11991199
it('should be able to transition sunburst traces via `Plotly.react`', function(done) {
1200-
var mock = Lib.extendDeep({}, require('@mocks/sunburst_pie_cartesian.json'));
1200+
var mock = Lib.extendDeep({}, require('@mocks/display-text_zero-number.json'));
12011201
mock.layout.transition = {duration: 200};
12021202

12031203
spyOn(Plots, 'transitionFromReact').and.callThrough();

0 commit comments

Comments
 (0)