Skip to content

Commit 67c72f2

Browse files
committed
test: remove async from test case
removed unnecessary async keyword from the test case that checks if the component renders slots up to the maxLength prop
1 parent e4c9e45 commit 67c72f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/text-input-otp.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('TextInputOTP Component', () => {
3333
expect(view.queryByTestId('caret')).toBeNull();
3434
});
3535

36-
it('should render the slots only up to the number defined by the maxLength prop', async () => {
36+
it('should render the slots only up to the number defined by the maxLength prop', () => {
3737
const MAX_LENGTH = 6;
3838
const view = render({ maxLength: MAX_LENGTH, caretHidden: true });
3939
const slots = view.getAllByTestId('text-input-otp-slot');

0 commit comments

Comments
 (0)