Merge pull request #234 from jeremyckahn/patch-1

Fix grammatical error in reference-test-renderer.md
This commit is contained in:
Brian Vaughn
2017-11-02 07:45:40 -07:00
committed by GitHub

View File

@@ -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';