Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Nov 17, 2022
1 parent 73fbbb2 commit d2e812a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Expand Up @@ -19,8 +19,10 @@ describe('<CircularProgress />', () => {
testCustomVariant: true,
slots: {
root: { expectedClassName: classes.root },
svg: { expectedClassName: classes.svg },
track: { expectedClassName: classes.track },
svg: { expectedClassName: classes.svg, testWithElement: 'svg' },
track: {
expectedClassName: classes.track,
},
progress: { expectedClassName: classes.progress },
},
skip: ['classesRoot', 'componentsProp'],
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Menu/Menu.test.js
Expand Up @@ -21,7 +21,7 @@ describe('Joy <Menu />', () => {
testVariantProps: { variant: 'soft' },
testCustomVariant: true,
slots: {
root: { expectedClassName: classes.root },
root: { expectedClassName: classes.root, testWithComponent: 'ul' },
},
skip: [
'rootClass', // portal, can't determin the root
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/SvgIcon/SvgIcon.test.js
Expand Up @@ -37,7 +37,7 @@ describe('<SvgIcon />', () => {
</svg>
),
slots: {
root: { expectedClassName: classes.root },
root: { expectedClassName: classes.root, testWithComponent: 'svg' },
},
skip: ['themeVariants', 'classesRoot', 'componentsProp'],
}),
Expand Down

0 comments on commit d2e812a

Please sign in to comment.