Skip to content

Commit

Permalink
Remove unused mount
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 21, 2019
1 parent 26da9b3 commit 3ac82c4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/material-ui/test/integration/MenuList.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { spy } from 'sinon';
import MenuList from '@material-ui/core/MenuList';
import MenuItem from '@material-ui/core/MenuItem';
import Divider from '@material-ui/core/Divider';
import { createMount } from '@material-ui/core/test-utils';
import { cleanup, createClientRender, fireEvent } from 'test/utils/createClientRender';
import PropTypes from 'prop-types';

Expand Down Expand Up @@ -65,7 +64,6 @@ function expectFocusVisible(element, focusVisibleClass) {
}

describe('<MenuList> integration', () => {
let mount;
let render;

before(() => {
Expand All @@ -74,13 +72,10 @@ describe('<MenuList> integration', () => {
// the same component tree (-TrackCommitCountMenuItem) in isolation in browserstack
this.skip();
}
// StrictModeViolation: uses #simulate
mount = createMount({ strict: false });
render = createClientRender({ strict: true });
});

after(() => {
mount.cleanUp();
cleanup();
});

Expand Down

0 comments on commit 3ac82c4

Please sign in to comment.