Skip to content

Commit 109e75b

Browse files
committed
.toBeInTheDocument() => .toBeVisible()
1 parent 49d664b commit 109e75b

File tree

1 file changed

+1
-1
lines changed
  • packages/components/src/calendar/test

1 file changed

+1
-1
lines changed

packages/components/src/calendar/test/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ describe( 'DateCalendar', () => {
703703
const grid = screen.getByRole( 'grid', {
704704
name: monthNameFormatter( 'ar' ).format( today ),
705705
} );
706-
expect( grid ).toBeInTheDocument();
706+
expect( grid ).toBeVisible();
707707

708708
// Check today button
709709
expect( getDateButton( today, {}, 'ar' ) ).toHaveAccessibleName( /today/i );

0 commit comments

Comments
 (0)