Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SpeedDial] Remove dead code from test #12545

Merged
merged 1 commit into from
Aug 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions packages/material-ui-lab/src/SpeedDial/SpeedDial.test.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
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';
import SpeedDialAction from '../SpeedDialAction';

describe('<SpeedDial />', () => {
let shallow;
let mount;
let classes;
const icon = <Icon>font_icon</Icon>;
const defaultProps = {
Expand All @@ -19,18 +18,13 @@ describe('<SpeedDial />', () => {

before(() => {
shallow = createShallow({ dive: true });
mount = createMount();
classes = getClasses(
<SpeedDial {...defaultProps} icon={icon}>
<div />
</SpeedDial>,
);
});

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

it('should render a Fade transition', () => {
const wrapper = shallow(
<SpeedDial {...defaultProps} icon={icon}>
Expand Down