Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Oct 12, 2023
1 parent 0a8a9d2 commit 8e6949f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-base/src/utils/useControllableReducer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
});

Expand Down Expand Up @@ -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',
);
});
});
Expand Down

0 comments on commit 8e6949f

Please sign in to comment.