ed2c0231dba8a021355b20bedfc7d4431d0198ca
Adds simulateDragDrop helper and three tests covering the splice/insertAt index arithmetic in handlePointerUp: - move-to-end (insertAt path where target > fromIdx) - move-to-start (insertAt path where target <= fromIdx) - move-down-by-one (verifies the off-by-one dropTargetIdx - 1 branch) Fixes @saraholt: "reorder calculation in handlePointerUp is untested" Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Python
73.3%
TypeScript
11.4%
Java
10.8%
Svelte
4.2%
Shell
0.1%