Skip to content

Commit 01afc2a

Browse files
committed
Address feedback
1 parent d44e1df commit 01afc2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-core/src/components/Drawer/__tests__/DrawerCloseButton.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DrawerCloseButton } from '../DrawerCloseButton';
55

66
test('Renders with spread buttonProps', () => {
77
render(<DrawerCloseButton buttonProps={{ isDisabled: true }} />);
8-
expect(screen.getByRole('button')).toHaveAttribute('disabled');
8+
expect(screen.getByRole('button')).toBeDisabled();
99
});
1010

1111
test('Calls onClose when clicked', async () => {

0 commit comments

Comments
 (0)