Skip to content

Commit

Permalink
Removes unused/redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
BitOfCoffee authored Nov 12, 2017
1 parent f0fc012 commit f9ee4ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guides/mocha.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ npm i --save-dev enzyme
```jsx
import React from 'react';
import { expect } from 'chai';
import { mount, shallow } from 'enzyme';
import sinon from 'sinon';
import { mount } from 'enzyme';
import { spy } from 'sinon';
import Foo from './src/Foo';

sinon.spy(Foo.prototype, 'componentDidMount');
spy(Foo.prototype, 'componentDidMount');

describe('<Foo />', () => {
it('calls componentDidMount', () => {
Expand Down

0 comments on commit f9ee4ad

Please sign in to comment.