Skip to content

Commit

Permalink
Update tests to test the new components
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Oct 6, 2023
1 parent 001e3f3 commit 87a3d59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material-next/src/Menu/Menu.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
fireEvent,
strictModeDoubleLoggingSuppressed,
} from '@mui-internal/test-utils';
import Menu, { menuClasses as classes } from '@mui/material/Menu';
import Popover from '@mui/material/Popover';
import { createTheme, ThemeProvider } from '@mui/material/styles';
import { MenuPaper } from './Menu';
import Menu, { MenuPaper } from './Menu';
import classes from './menuClasses';

describe('<Menu />', () => {
const { render } = createRenderer({ clock: 'fake' });
Expand Down
3 changes: 2 additions & 1 deletion packages/mui-material-next/src/MenuItem/MenuItem.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import {
fireEvent,
screen,
} from '@mui-internal/test-utils';
import MenuItem, { menuItemClasses as classes } from '@mui/material/MenuItem';
import ButtonBase from '@mui/material/ButtonBase';
import ListContext from '@mui/material/List/ListContext';
import MenuItem from './MenuItem';
import classes from './menuItemClasses';

describe('<MenuItem />', () => {
const { render } = createRenderer();
Expand Down

0 comments on commit 87a3d59

Please sign in to comment.