diff --git a/packages/mui-base/src/utils/useControllableReducer.test.tsx b/packages/mui-base/src/utils/useControllableReducer.test.tsx index 10f631507d5070..296c2766299a33 100644 --- a/packages/mui-base/src/utils/useControllableReducer.test.tsx +++ b/packages/mui-base/src/utils/useControllableReducer.test.tsx @@ -162,7 +162,7 @@ describe('useControllableReducer', () => { expect(() => { setProps({ make: undefined }); }).to.toErrorDev( - 'MUI: useControllableReducer is changing a controlled prop to be uncontrolled', + 'MUI: A component is changing the controlled state of the "make" prop in TestReducer to be uncontrolled', ); }); @@ -193,7 +193,7 @@ describe('useControllableReducer', () => { expect(() => { setProps({ make: 'Tesla' }); }).to.toErrorDev( - 'MUI: useControllableReducer is changing an uncontrolled prop to be controlled', + 'MUI: A component is changing the uncontrolled state of the "make" prop in TestReducer to be controlled', ); }); });