Browse Source

Fix grammatical error in reference-test-renderer.md

main
Jeremy Kahn 7 years ago
committed by GitHub
parent
commit
1388eb8642
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/reference-test-renderer.md

2
content/docs/reference-test-renderer.md

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

Loading…
Cancel
Save