Skip to content

Commit

Permalink
Remove defined but not used imported libraries
Browse files Browse the repository at this point in the history
-Since expect is being used inside of the 'redux-mock-store', there is no longer a need to import expect in this example 
-The same is applicable to 'applyMiddleware', because it's being imported in the 'redux-mock-store'
  • Loading branch information
TimurM committed Dec 16, 2015
1 parent 8ebd5a6 commit dab19a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/recipes/WritingTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ export function fetchTodos() {
can be tested like:

```js
import expect from 'expect'
import { applyMiddleware } from 'redux'
import configureMockStore from 'redux-mock-store'
import thunk from 'redux-thunk'
import * as actions from '../../actions/counter'
Expand Down

0 comments on commit dab19a0

Please sign in to comment.