From d909fa9f0b85714da23d3691eef65562aa3ec194 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Wed, 15 Aug 2018 21:14:35 +0100 Subject: [PATCH] [SpeedDial] Remove dead code from test --- packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js b/packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js index 94519137eb51e6..64f73ec6678856 100644 --- a/packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js +++ b/packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js @@ -1,7 +1,7 @@ import React from 'react'; import { assert } from 'chai'; import { spy } from 'sinon'; -import { createMount, createShallow, getClasses } from '@material-ui/core/test-utils'; +import { createShallow, getClasses } from '@material-ui/core/test-utils'; import Icon from '@material-ui/core/Icon'; import Button from '@material-ui/core/Button'; import SpeedDial from './SpeedDial'; @@ -9,7 +9,6 @@ import SpeedDialAction from '../SpeedDialAction'; describe('', () => { let shallow; - let mount; let classes; const icon = font_icon; const defaultProps = { @@ -19,7 +18,6 @@ describe('', () => { before(() => { shallow = createShallow({ dive: true }); - mount = createMount(); classes = getClasses(
@@ -27,10 +25,6 @@ describe('', () => { ); }); - after(() => { - mount.cleanUp(); - }); - it('should render a Fade transition', () => { const wrapper = shallow(