Content-Length: 282627 | pFad | http://github.com/juddruckers/testing-library-docs/commit/fa2513ea5b105c85933218aa5cc78c1dab827bcf

C3 docs: improve "Migrate from Enzyme" grammar and clarity (#988) · juddruckers/testing-library-docs@fa2513e · GitHub
Skip to content

Commit fa2513e

Browse files
authored
docs: improve "Migrate from Enzyme" grammar and clarity (testing-library#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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/juddruckers/testing-library-docs/commit/fa2513ea5b105c85933218aa5cc78c1dab827bcf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy