(component: Plottable.Component)
| 10 | const DIV_HEIGHT = 400; |
| 11 | |
| 12 | function triggerMoveEvent(component: Plottable.Component) { |
| 13 | TestMethods.triggerFakeInteractionEvent( |
| 14 | TestMethods.InteractionMode.Mouse, |
| 15 | TestMethods.InteractionType.Move, |
| 16 | component.content(), |
| 17 | DIV_WIDTH / 2, |
| 18 | DIV_HEIGHT / 2, |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | it("attaching/detaching a component modifies the state of the interaction", () => { |
| 23 | const div = TestMethods.generateDiv(DIV_WIDTH, DIV_HEIGHT); |
no test coverage detected