Skip to content

Commit 70c49ce

Browse files
authored
Merge pull request #6469 from plotly/rename-z-mocks
Rename several new mocks starting with z
2 parents 0e197e6 + 03c4c84 commit 70c49ce

File tree

61 files changed

+5
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+5
-5
lines changed
-26 Bytes
8 Bytes
-44 Bytes

test/jasmine/tests/axes_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4449,7 +4449,7 @@ describe('Test axes', function() {
44494449
expect(tickBottom).toBeLessThan(titleTop + 2); // allow two pixels tolerance
44504450
}
44514451

4452-
var fig = require('../../image/mocks/z-automargin-zoom.json');
4452+
var fig = require('../../image/mocks/automargin-zoom.json');
44534453
Plotly.newPlot(gd, fig)
44544454

44554455
.then(assertLayout)
@@ -7973,7 +7973,7 @@ describe('shift tests', function() {
79737973
afterEach(destroyGraphDiv);
79747974

79757975
it('should set y-axis shifts correctly on first draw when shift=true', function() {
7976-
var fig = require('../../image/mocks/zz-mult-yaxes-simple.json');
7976+
var fig = require('../../image/mocks/mult-yaxes-simple.json');
79777977
Plotly.newPlot(gd, fig).then(function() {
79787978
checkLine('path.xy3-y.crisp', 550);
79797979
checkLine('path.xy4-y.crisp', 691);
@@ -7983,7 +7983,7 @@ describe('shift tests', function() {
79837983
});
79847984

79857985
it('should set y-axis shifts correctly on first draw when shift=<numeric>', function() {
7986-
var fig = require('../../image/mocks/zz-mult-yaxes-manual-shift.json');
7986+
var fig = require('../../image/mocks/mult-yaxes-manual-shift.json');
79877987
Plotly.newPlot(gd, fig).then(function() {
79887988
checkLine('path.xy3-y.crisp', 97);
79897989
checkLine('path.xy4-y.crisp', 616);

test/jasmine/tests/hover_label_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ describe('Hover on multicategory axes', function() {
26422642
});
26432643

26442644
it('should work with series', function(done) {
2645-
var fig = Lib.extendDeep({}, require('../../image/mocks/zz-multicategory_series.json'));
2645+
var fig = Lib.extendDeep({}, require('../../image/mocks/multicategory_series.json'));
26462646
fig.data = [fig.data[0]];
26472647
fig.layout.width = 500;
26482648
fig.layout.height = 500;

test/jasmine/tests/plots_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ describe('Test Plots with automargin and minreducedwidth/height', function() {
13471347
expect(xy.getAttribute(attr)).toBeCloseTo(exp, -1);
13481348
}
13491349

1350-
var fig = require('../../image/mocks/z-automargin-minreducedheight.json');
1350+
var fig = require('../../image/mocks/automargin-minreducedheight.json');
13511351

13521352
Plotly.newPlot(gd, fig)
13531353
.then(function() {

0 commit comments

Comments
 (0)