(type)
| 1263 | }); |
| 1264 | |
| 1265 | function assertNoHoverEvents(type) { |
| 1266 | return function() { |
| 1267 | return Promise.resolve() |
| 1268 | .then(function() { return _hover(type); }) |
| 1269 | .then(failTest).catch(function(err) { |
| 1270 | expect(err).toBe('plotly_hover did not get called!'); |
| 1271 | }) |
| 1272 | .then(function() { return _unhover(type); }) |
| 1273 | .then(failTest).catch(function(err) { |
| 1274 | expect(err).toBe('plotly_unhover did not get called!'); |
| 1275 | }); |
| 1276 | }; |
| 1277 | } |
| 1278 | |
| 1279 | it('should not output hover/unhover event data when hovermode is false', function(done) { |
| 1280 | var fig = Lib.extendDeep({}, mock); |
no test coverage detected
searching dependent graphs…