Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Aug 22, 2024
1 parent df44769 commit 5653111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/styles/extendTheme.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ describe('extendTheme', () => {

it('a custom function should not be altered', () => {
const theme = extendTheme({
spacing: (val) => val === 'xs' ? '100px' : val,
spacing: (val) => (val === 'xs' ? '100px' : val),
});
expect('spacing' in theme.vars).to.equal(false);
expect(theme.spacing('xs')).to.equal('100px');
Expand Down

0 comments on commit 5653111

Please sign in to comment.