Skip to content
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
4 changes: 2 additions & 2 deletions docs/usage/basic-hooks.md
Original file line number Diff line number Diff line change
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