Skip to content

Commit

Permalink
Merge pull request #196 from samnoh/master
Browse files Browse the repository at this point in the history
Small typo fixes
  • Loading branch information
mpeyper committed Oct 11, 2019
2 parents ba72b1f + f3ff6ac commit 28ee690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/basic-hooks.md
Expand Up @@ -173,7 +173,7 @@ value changes for both the setup and cleanup of the `useEffect` call:
```js
import { useEffect } from 'react'
import { renderHook } from "react-hooks-testing-library"
import sideEffect from './sideEffect
import sideEffect from './sideEffect'

test("should clean up side effect", () => {
let id = "first"
Expand All @@ -200,7 +200,7 @@ clean up the effect, allowing the test to pass as expected:
```js
import { useEffect } from 'react'
import { renderHook } from "react-hooks-testing-library"
import sideEffect from './sideEffect
import sideEffect from './sideEffect'

test("should clean up side effect", () => {
const { rerender } = renderHook(
Expand Down

0 comments on commit 28ee690

Please sign in to comment.