Skip to content

Commit 2af1810

Browse files
committed
Enable test
1 parent 3bd0369 commit 2af1810

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

test/jasmine/bundle_tests/mathjax_test.js

+19
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,25 @@ describe('Test MathJax v' + mathjaxVersion + ':', function() {
9595
.then(done, done.fail);
9696
});
9797

98+
it('should scoot x-axis title (with MathJax) below x-axis ticks', function(done) {
99+
expect(window.MathJax).toBeDefined();
100+
101+
testTitleScoot({
102+
data: [{
103+
y: [1, 2, 1]
104+
}],
105+
layout: {
106+
xaxis: {title: texTitle},
107+
width: 500,
108+
height: 500,
109+
margin: {t: 100, b: 100, l: 100, r: 100}
110+
}
111+
}, {
112+
xCategories: longCats
113+
})
114+
.then(done, done.fail);
115+
});
116+
98117
it('should scoot x-axis title below x-axis ticks (with MathJax)', function(done) {
99118
expect(window.MathJax).toBeDefined();
100119

0 commit comments

Comments
 (0)