Skip to content

Commit daebf41

Browse files
huyenltnguyenalexkrolick
authored andcommitted
Fix some typos (#149)
1 parent da6589b commit daebf41

File tree

1 file changed

+4
-4
lines changed
  • docs/react-testing-library

1 file changed

+4
-4
lines changed

docs/react-testing-library/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ test('renders a message', () => {
5252

5353
## `render` Options
5454

55-
You wont often need to specify options, but if you ever do, here are the
55+
You won't often need to specify options, but if you ever do, here are the
5656
available options which you could provide as a second argument to `render`.
5757

5858
### `container`
5959

60-
By default, `React Testing Library` will create a `div` and append that div to
61-
the `document.body` and this is where your react component will be rendered. If
60+
By default, `React Testing Library` will create a `div` and append that `div` to
61+
the `document.body` and this is where your React component will be rendered. If
6262
you provide your own HTMLElement `container` via this option, it will not be
6363
appended to the `document.body` automatically.
6464

65-
For Example: If you are unit testing a `tablebody` element, it cannot be a child
65+
For example: If you are unit testing a `tablebody` element, it cannot be a child
6666
of a `div`. In this case, you can specify a `table` as the render `container`.
6767

6868
```jsx

0 commit comments

Comments
 (0)