Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README Misc. Grammar Edits #199

Merged
merged 4 commits into from
Oct 10, 2018
Merged
Changes from 1 commit
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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ facilitate testing implementation details). Read more about this in
> [`dom-testing-library`](https://github.com/kentcdodds/dom-testing-library)
> which is where most of the logic behind the queries is.

## What is react-testing-libary?
## What is react-testing-library?

Have a look at the video below for an explanation. <br/><br/>
[![what is react testing libary](https://img.youtube.com/vi/JKOwJUM4_RM/0.jpg)](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
[![what is react testing library](https://img.youtube.com/vi/JKOwJUM4_RM/0.jpg)](https://youtu.be/JKOwJUM4_RM 'what is react testing library')

## Example

Expand Down Expand Up @@ -172,12 +172,12 @@ npm install --save-dev react-testing-library
This library has a `peerDependencies` listing for `react-dom`.

You may also be interested in installing `jest-dom` so you can use
[the custom jest matchers](https://github.com/gnapse/jest-dom#readme)
[the custom jest matchers](https://github.com/gnapse/jest-dom#readme).

## Setup

`react-testing-library` does not require any configuration to be used (as
demonstrated in the example above). However, there are some things you can do to
demonstrated in the example above). However, there are some things you can do
when configuring your testing framework to reduce some boilerplate. In these
docs we'll demonstrate configuring Jest, but you should be able to do similar
things with any testing framework (react-testing-library does not require that
Expand Down Expand Up @@ -316,7 +316,7 @@ Defined as:
function render(
ui: React.ReactElement<any>,
options?: {
/* You wont often use this, expand below for docs on options */
/* You won't often use this, expand below for docs on options */
},
): RenderResult
```
Expand Down