diff --git a/packages/material-ui/src/TablePagination/TablePagination.test.js b/packages/material-ui/src/TablePagination/TablePagination.test.js index e3b4660e447a05..c59e1ea5571bcd 100644 --- a/packages/material-ui/src/TablePagination/TablePagination.test.js +++ b/packages/material-ui/src/TablePagination/TablePagination.test.js @@ -11,7 +11,6 @@ import TableFooter from '../TableFooter'; import TableCell from '../TableCell'; import Typography from '../Typography'; import TableRow from '../TableRow'; -import TableBody from '../TableBody'; import TablePagination from './TablePagination'; describe('', () => { @@ -35,11 +34,14 @@ describe('', () => { classes = getClasses( {}} page={0} rowsPerPage={10} />, ); - // StrictModeViolation: test uses #html() + }); + + beforeEach(() => { + // StrictModeViolation: test uses #html()() mount = createMount({ strict: false }); }); - after(() => { + afterEach(() => { mount.cleanUp(); });