Skip to content

Commit be9e6b9

Browse files
committed
resolves #1575 - call Fx.hover with evt object containing 'xpx' & 'ypx'
- to test main codepath instead of fallback `ax._length`
1 parent ce27e10 commit be9e6b9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/jasmine/tests/hover_label_test.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ var fail = require('../assets/fail_test');
1616
describe('hover info', function() {
1717
'use strict';
1818

19-
var mock = require('@mocks/14.json'),
20-
evt = {
21-
clientX: mock.layout.width / 2,
22-
clientY: mock.layout.height / 2
23-
};
19+
var mock = require('@mocks/14.json');
20+
var evt = { xpx: 355, ypx: 150 };
2421

2522
afterEach(destroyGraphDiv);
2623

0 commit comments

Comments
 (0)