Skip to content

Commit 82dd171

Browse files
authored
fix rtl link
1 parent 9c8de02 commit 82dd171

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/example-react-hooks.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
id: example-react-hooks
33
title: React Hooks
44
---
5-
[`react-hooks-testing-library`][gh] is built on top of [`react-testing-library`][gh] to create a simple test harness for [React hooks](https://reactjs.org/docs/hooks-intro.html) that handles running them within the body of a function component, as well as providing various useful utility functions for updating the inputs and retrieving the outputs of your [custom hook](https://reactjs.org/docs/hooks-custom.html).
5+
6+
[`react-hooks-testing-library`][gh] is built on top of [`react-testing-library`](/react) to create a simple test harness for [React hooks](https://reactjs.org/docs/hooks-intro.html) that handles running them within the body of a function component, as well as providing various useful utility functions for updating the inputs and retrieving the outputs of your [custom hook](https://reactjs.org/docs/hooks-custom.html).
67

78
> **Note**
89
>
@@ -67,4 +68,4 @@ test('should decrement counter', () => {
6768

6869
expect(result.current.count).toBe(-3)
6970
})
70-
```
71+
```

0 commit comments

Comments
 (0)