Skip to content

Commit fa2513e

Browse files
authored
docs: improve "Migrate from Enzyme" grammar and clarity (#988)
1 parent 9a83561 commit fa2513e

File tree

2 files changed

+152
-156
lines changed

2 files changed

+152
-156
lines changed

docs/react-testing-library/faq.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: FAQ
44
---
55

66
See also the [main FAQ](dom-testing-library/faq.mdx) for questions not specific
7-
to React testing
7+
to React testing.
88

99
<details>
1010

@@ -103,10 +103,10 @@ As you write your tests, keep in mind:
103103
</summary>
104104

105105
In general, you should avoid mocking out components (see
106-
[the Guiding Principles section](guiding-principles.mdx)). However if you need
107-
to, then it's pretty trivial using
106+
[the Guiding Principles section](guiding-principles.mdx)). However, if you need
107+
to, then try to use
108108
[Jest's mocking feature](https://facebook.github.io/jest/docs/en/manual-mocks.html).
109-
One case that I've found mocking to be especially useful is for animation
109+
One case where I've found mocking to be especially useful is for animation
110110
libraries. I don't want my tests to wait for animations to end.
111111

112112
```javascript

0 commit comments

Comments
 (0)