Skip to content

Commit

Permalink
Remove focus ripple test
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Aug 21, 2023
1 parent 26ccb4b commit ed2632d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/mui-material-next/src/ButtonBase/ButtonBase.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,24 +271,6 @@ describe('<ButtonBase />', () => {

describe('ripple', () => {
describe('interactions', () => {
it('should not have a focus ripple by default', () => {
const { getByRole } = render(
<ButtonBase
TouchRippleProps={{
classes: {
ripplePulsate: 'ripple-visible',
},
}}
/>,
);
const button = getByRole('button');
simulatePointerDevice();

focusVisible(button);

expect(button.querySelectorAll('.ripple-visible')).to.have.lengthOf(0);
});

it('should start the ripple when the mouse is pressed', () => {
const { getByRole } = render(
<ButtonBase
Expand Down

0 comments on commit ed2632d

Please sign in to comment.