MCPcopy
hub / github.com/palantir/plottable / doubleClickPointWithMove

Function doubleClickPointWithMove

test/interactions/clickInteractionTests.ts:83–89  ·  view source on GitHub ↗
(firstClickPoint: Plottable.Point,
                                      secondClickPoint: Plottable.Point,
                                      mode: TestMethods.InteractionMode)

Source from the content-addressed store, hash-verified

81 }
82
83 function doubleClickPointWithMove(firstClickPoint: Plottable.Point,
84 secondClickPoint: Plottable.Point,
85 mode: TestMethods.InteractionMode) {
86 clickPoint(firstClickPoint, mode);
87 clickPoint(secondClickPoint, mode);
88 TestMethods.triggerFakeMouseEvent("dblclick", component.content(), secondClickPoint.x, secondClickPoint.y);
89 }
90
91 // All the tests require setTimouts becuase of the internal logic in click interactions
92 function runAsserts(callback: () => void, done: () => void) {

Callers 1

doubleClickPointFunction · 0.85

Calls 2

clickPointFunction · 0.85
contentMethod · 0.80

Tested by

no test coverage detected