Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Nov 20, 2024
1 parent 2f3427d commit 42cbb35
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ describe('<PickersCalendarHeader /> - Describes', () => {
muiName: 'MuiPickersCalendarHeader',
refInstanceof: window.HTMLDivElement,
skip: ['componentProp', 'componentsProp', 'themeVariants'],
slots: {
switchViewButton: {
expectedClassName: pickersCalendarHeaderClasses.switchViewButton,
},
switchViewIcon: {
expectedClassName: pickersCalendarHeaderClasses.switchViewIcon,
},
},
// TODO: Uncomment once `describeConformance` does not enforce the presence of `ownerState.className`
// slots: {
// switchViewButton: {
// expectedClassName: pickersCalendarHeaderClasses.switchViewButton,
// },
// switchViewIcon: {
// expectedClassName: pickersCalendarHeaderClasses.switchViewIcon,
// },
// },
}),
);
});

0 comments on commit 42cbb35

Please sign in to comment.