(xPixel, yPixel)
| 41 | afterEach(destroyGraphDiv); |
| 42 | |
| 43 | function _hover(xPixel, yPixel) { |
| 44 | var bb = gd.getBoundingClientRect(); |
| 45 | var s = gd._fullLayout._size; |
| 46 | Fx.hover( |
| 47 | gd, |
| 48 | { |
| 49 | clientX: xPixel + bb.left + s.l, |
| 50 | clientY: yPixel + bb.top + s.t, |
| 51 | target: gd.querySelector('.nsewdrag') |
| 52 | }, |
| 53 | 'xy' |
| 54 | ); |
| 55 | Lib.clearThrottle(); |
| 56 | } |
| 57 | |
| 58 | it('emits plotly_hover with coordinate data on empty space', (done) => { |
| 59 | var hoverData; |
no outgoing calls
no test coverage detected
searching dependent graphs…