Skip to content

Commit

Permalink
remove 1 more instance
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Jul 18, 2023
1 parent 3282d17 commit 3ee8a59
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/mui-material/src/Popover/Popover.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,17 @@ describe('<Popover />', () => {
return <div data-testid="backdrop" data-invisible={invisible} />;
}
render(
<Popover open anchorEl={document.createElement('div')} BackdropComponent={TestBackdrop}>
<Popover
open
anchorEl={document.createElement('div')}
slotProps={{
root: {
slots: {
backdrop: TestBackdrop,
},
},
}}
>
<div />
</Popover>,
);
Expand Down

0 comments on commit 3ee8a59

Please sign in to comment.