Skip to content

Commit 1213443

Browse files
authored
chore(docs): update installation.md (#897)
1 parent db18d8c commit 1213443

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/installation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ your hook. We currently support two different renderers:
4242
- `react-test-renderer`
4343
- `react-dom`
4444

45-
When using standard import for this library (show below), we will attempt to auto-detect which
45+
When using standard import for this library (see below), we will attempt to auto-detect which
4646
renderer you have installed and use it without needing any specific wiring up to make it happen. If
4747
you have both installed in your project, and you use the standard import (see below) the library
4848
will default to using `react-test-renderer`.
@@ -63,7 +63,7 @@ import { renderHook } from '@testing-library/react-hooks'
6363
### Act
6464

6565
Each render also provides a unique [`act` function](https://reactjs.org/docs/test-utils.html#act)
66-
that cannot be used with other renderers. In order to simplify with `act `function you need to use,
66+
that cannot be used with other renderers. In order to simplify which `act `function you need to use,
6767
we also export the correct one alongside the detected renderer for you:
6868

6969
```js
@@ -73,8 +73,8 @@ import { renderHook, act } from '@testing-library/react-hooks'
7373
## Being specific
7474

7575
Auto-detection is great for simplifying setup and getting out of your way, but sometimes you do need
76-
a little but more control. If a test needs requires a specific type of environment, the import can
77-
be appended to force a specific renderer to be use. The supported environments are:
76+
a little bit more control. If a test needs a specific type of environment, the import can
77+
be appended to force a specific renderer to be used. The supported environments are:
7878

7979
- `dom`
8080
- `native`

0 commit comments

Comments
 (0)