(content, style, msg)
| 798 | } |
| 799 | |
| 800 | function assertLabel(content, style, msg) { |
| 801 | assertHoverLabelContent({nums: content}, msg); |
| 802 | |
| 803 | if(style) { |
| 804 | assertHoverLabelStyle(d3Select('.hovertext'), { |
| 805 | bgcolor: style[0], |
| 806 | bordercolor: style[1], |
| 807 | fontSize: style[2], |
| 808 | fontFamily: style[3], |
| 809 | fontColor: style[4] |
| 810 | }, msg); |
| 811 | } |
| 812 | } |
| 813 | |
| 814 | it('should show the default selected values', function(done) { |
| 815 | Plotly.newPlot(gd, mockCopy.data, mockCopy.layout) |
no outgoing calls
no test coverage detected
searching dependent graphs…