(selecting, selected, deselect, msg)
| 133 | } |
| 134 | |
| 135 | function assertEventCounts(selecting, selected, deselect, msg) { |
| 136 | expect(selectingCnt).toBe(selecting, 'plotly_selecting call count: ' + msg); |
| 137 | expect(selectedCnt).toBe(selected, 'plotly_selected call count: ' + msg); |
| 138 | expect(deselectCnt).toBe(deselect, 'plotly_deselect call count: ' + msg); |
| 139 | } |
| 140 | |
| 141 | // TODO: in v3, when we get rid of the `plotly_selected->undefined` event, these will |
| 142 | // change to BOXEVENTS = [1, 1, 1], LASSOEVENTS = [4, 1, 1]. See also _run down below |
no outgoing calls
no test coverage detected
searching dependent graphs…