Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbach committed Mar 27, 2024
1 parent ed008ac commit 677cfd0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/core/test/dnd-restrictions.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,16 @@ describe('dnd restrictions', () => {
canReorderItems: false,
});
await test.startDrag('aaa');
await test.dragOver('aac', 'bottom');
await test.dragOver('abb', 'bottom');
await test.drop();
await test.expectTreeUnchanged();
await test.expectVisibleItemContents('ab', [
'aba',
'abb',
'abc',
'abd',
'aaa',
]);
await test.expectVisibleItemContents('aa', ['aab', 'aac', 'aad']);
await test.expectOpenViewState();
});

Expand Down

0 comments on commit 677cfd0

Please sign in to comment.