Skip to content

Commit f171cb6

Browse files
author
imartinezvazquez
committed
axes_test mockCalc: add default value to minexponent attribute
1 parent 83273cf commit f171cb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/jasmine/tests/axes_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2722,6 +2722,7 @@ describe('Test axes', function() {
27222722

27232723
describe('calcTicks and tickText', function() {
27242724
function mockCalc(ax) {
2725+
ax = {minexponent: 3, ...ax};
27252726
ax.tickfont = {};
27262727
Axes.setConvert(ax, {separators: '.,', _extraFormat: {
27272728
year: '%Y',

0 commit comments

Comments
 (0)