Skip to content

Commit e6250a0

Browse files
Fix axes_test (missing _extraFormats member in fullLayout parameter passed to setConvert)
1 parent 8e257de commit e6250a0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/jasmine/tests/axes_test.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,12 @@ describe('Test axes', function() {
18601860
describe('calcTicks and tickText', function() {
18611861
function mockCalc(ax) {
18621862
ax.tickfont = {};
1863-
Axes.setConvert(ax, {separators: '.,'});
1863+
Axes.setConvert(ax, {separators: '.,', _extraFormat: {
1864+
year: '%Y',
1865+
month: '%b %Y',
1866+
dayMonth: '%b %-d',
1867+
dayMonthYear: '%b %-d, %Y'
1868+
}});
18641869
return Axes.calcTicks(ax).map(function(v) { return v.text; });
18651870
}
18661871

0 commit comments

Comments
 (0)