(p)
| 2040 | |
| 2041 | // we need to click on the drag cover to truly test this, |
| 2042 | function clickAt(p) { |
| 2043 | return function () { |
| 2044 | return new Promise(function (resolve) { |
| 2045 | var el = d3Select('g.legend').node(); |
| 2046 | var opts = { element: el }; |
| 2047 | mouseEvent('mousedown', p[0], p[1], opts); |
| 2048 | mouseEvent('mouseup', p[0], p[1], opts); |
| 2049 | setTimeout(resolve, DBLCLICKDELAY + 20); |
| 2050 | }); |
| 2051 | }; |
| 2052 | } |
| 2053 | |
| 2054 | function assertVisible(expectation) { |
| 2055 | return function () { |
no test coverage detected
searching dependent graphs…