Skip to content

Commit 488bcf4

Browse files
committed
fix a test that depended on mock 14
1 parent 58700c1 commit 488bcf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/jasmine/tests/hover_label_test.js

+3
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ describe('hover info', function() {
243243
var mockCopy = Lib.extendDeep({}, mock);
244244

245245
mockCopy.data[0].hoverinfo = 'y';
246+
// we do support superscripts in hover, but it's annoying to write
247+
// out all the tspan stuff here.
248+
mockCopy.layout.yaxis.exponentformat = 'e';
246249

247250
beforeEach(function(done) {
248251
for(var i = 0; i < mockCopy.data[0].y.length; i++) {

0 commit comments

Comments
 (0)