diff --git a/packages/mui-material/src/IconButton/IconButton.test.js b/packages/mui-material/src/IconButton/IconButton.test.js index 6053bdbb45a6f2..76011f1d2dbf29 100644 --- a/packages/mui-material/src/IconButton/IconButton.test.js +++ b/packages/mui-material/src/IconButton/IconButton.test.js @@ -143,10 +143,10 @@ describe('', () => { }); it('should apply the hover background by default', function test() { - if(!/jsdom/.test(window.navigator.userAgent)) { + if (!/jsdom/.test(window.navigator.userAgent)) { this.skip(); } - + const { container, getByTestId } = render(); fireEvent.mouseMove(container.firstChild, { @@ -157,8 +157,8 @@ describe('', () => { }); }); - it('should not apply the hover background if disableRipple is true', () => { - if(!/jsdom/.test(window.navigator.userAgent)) { + it('should not apply the hover background if disableRipple is true', function test() { + if (!/jsdom/.test(window.navigator.userAgent)) { this.skip(); }