Skip to content

Commit

Permalink
Merge pull request #234 from jeremyckahn/patch-1
Browse files Browse the repository at this point in the history
Fix grammatical error in reference-test-renderer.md
  • Loading branch information
bvaughn committed Nov 2, 2017
2 parents 162ce4f + 1388eb8 commit 6d0d4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/reference-test-renderer.md
Expand Up @@ -244,7 +244,7 @@ The children test instances of this test instance.

You can pass `createNodeMock` function to `TestRenderer.create` as the option, which allows for custom mock refs.
`createNodeMock` accepts the current element and should return a mock ref object.
This is useful when you test a component rely on refs.
This is useful when you test a component that relies on refs.

```javascript
import TestRenderer from 'react-test-renderer';
Expand Down

0 comments on commit 6d0d4f1

Please sign in to comment.