diff --git a/packages/mui-material/src/Avatar/Avatar.test.js b/packages/mui-material/src/Avatar/Avatar.test.js index 5d6727a9cb624f..2c1098b1d8b1b1 100644 --- a/packages/mui-material/src/Avatar/Avatar.test.js +++ b/packages/mui-material/src/Avatar/Avatar.test.js @@ -226,14 +226,6 @@ describe('', () => { expect(avatar.firstChild).to.have.attribute('data-testid', 'PersonIcon'); }); - - it('should throw propTypes error if children is boolean true', () => { - expect(() => { - render({true}); - }).toErrorDev( - 'Warning: Failed prop type: Invalid prop `children` supplied to `ForwardRef(Avatar)`, expected a ReactNode.', - ); - }); }); it('should not throw error when ownerState is used in styleOverrides', () => {