(p, hoverLabelCnt)
| 1480 | fig.layout.geo.projection.rotation = {lon: -75, lat: 90}; |
| 1481 | |
| 1482 | function check(p, hoverLabelCnt) { |
| 1483 | mouseEvent('mousemove', p[0], p[1]); |
| 1484 | |
| 1485 | var invert = gd._fullLayout.geo._subplot.projection.invert; |
| 1486 | var lonlat = invert(p); |
| 1487 | |
| 1488 | expect(d3SelectAll('g.hovertext').size()) |
| 1489 | .toBe(hoverLabelCnt, 'for ' + lonlat); |
| 1490 | |
| 1491 | Lib.clearThrottle(); |
| 1492 | } |
| 1493 | |
| 1494 | Plotly.newPlot(gd, fig).then(function() { |
| 1495 | var px = 255; |
no test coverage detected
searching dependent graphs…