Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Feb 17, 2023
1 parent 3f41393 commit 07de412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material/src/Avatar/Avatar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ describe('<Avatar />', () => {
});
});

it('should not error when ownerState is used in styleOverrides', () => {
it('should not throw error when ownerState is used in styleOverrides', () => {
const theme = createTheme({
components: {
MuiAvatar: {
Expand All @@ -235,6 +235,6 @@ describe('<Avatar />', () => {
<Avatar variant="rounded" />
</ThemeProvider>,
),
).not.toErrorDev();
).not.to.throw();
});
});

0 comments on commit 07de412

Please sign in to comment.