Skip to content

Commit

Permalink
Fix overlapping act() calls warning in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vbabich committed Jan 5, 2024
1 parent 6554c7e commit 8295b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/TimeInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('selection', () => {

input.focus();
input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);
user.type(input, '{Shift}', {
await user.type(input, '{Shift}', {
skipClick: true,
initialSelectionStart: selectionStart,
initialSelectionEnd: selectionEnd,
Expand Down

0 comments on commit 8295b5a

Please sign in to comment.