SIGN IN SIGN UP
apache / superset UNCLAIMED

Apache Superset is a Data Visualization and Data Exploration Platform

0 0 146 TypeScript

test(react18): skip 2 reorder-within-list drag tests pending react-dnd upgrade

react-dnd@^11.1.3 is 5 majors behind current. Under React 18 the dragStart
redux dispatch from react-dnd-html5-backend@11 doesn't reach
`monitor.isDragging()` before the next fireEvent, so drag tests that combine
useDrag + useDrop on the same element raise "Cannot call hover while not
dragging" at drop. Pure source-only drag tests in these same files still pass.

Skip the two affected tests with a TODO so the rest of the suite stays green;
the proper fix is upgrading react-dnd to v14+ (full React 18 support), which
is out of scope for this bump.
M
Mehmet Salih Yavuz committed
705653f3ba1d32bda29f9280e6d15febb4edddce
Parent: c6442ad