(left, top)
| 1967 | let droppable = draggable.parentElement; |
| 1968 | let droppable2 = tree.getByText('Drop here 2'); |
| 1969 | let rect = (left, top) => ({ |
| 1970 | left, |
| 1971 | top, |
| 1972 | x: left, |
| 1973 | y: top, |
| 1974 | width: 100, |
| 1975 | height: 50 |
| 1976 | }); |
| 1977 | |
| 1978 | jest.spyOn(HTMLElement.prototype, 'getBoundingClientRect').mockImplementation(function () { |
| 1979 | if (this === droppable) { |