Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e8194 commit 935e4acCopy full SHA for 935e4ac
test/jasmine/tests/geo_test.js
@@ -1150,9 +1150,22 @@ describe('Test geo interactions', function() {
1150
done();
1151
});
1152
1153
-
1154
1155
+
1156
+ it('should not throw during hover when out-of-range pts are present in *albers usa* map', function(done) {
1157
+ var gd = createGraphDiv();
1158
+ var fig = Lib.extendDeep({}, require('@mocks/geo_scattergeo-out-of-usa.json'));
1159
+ fig.layout.width = 700;
1160
+ fig.layout.height = 500;
1161
1162
+ Plotly.plot(gd, fig).then(function() {
1163
+ mouseEvent('mousemove', 350, 250);
1164
+ expect(d3.selectAll('g.hovertext').size()).toEqual(1);
1165
+ })
1166
+ .catch(fail)
1167
+ .then(done);
1168
+ });
1169
1170
1171
0 commit comments