Skip to content

Commit e2b4642

Browse files
committed
test: improve onDragStateChanged test
1 parent a338244 commit e2b4642

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/react-sortable-tree.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,5 +384,6 @@ describe('<SortableTree />', () => {
384384
isDragging: false,
385385
draggedNode: null,
386386
});
387+
expect(onDragStateChanged).toHaveBeenCalledTimes(2);
387388
});
388389
});

0 commit comments

Comments
 (0)