diff --git a/docs/react-testing-library/migrate-from-enzyme.mdx b/docs/react-testing-library/migrate-from-enzyme.mdx index 81ae0d175..0bab98596 100644 --- a/docs/react-testing-library/migrate-from-enzyme.mdx +++ b/docs/react-testing-library/migrate-from-enzyme.mdx @@ -14,7 +14,7 @@ with React Testing Library. React Testing Library is part of an open-source project named [Testing Library](https://github.com/testing-library). There are several other helpful tools and libraries in the Testing Library project which you can use -them to write more useful tests. Beside React Testing Library, here are some +to write more useful tests. Besides React Testing Library, here are some other Testing Library's libraries that can help you along the way: - **[@testing-library/jest-dom](https://github.com/testing-library/jest-dom)**: @@ -49,13 +49,13 @@ development speed and productivity, since every small change requires rewriting some part of your tests, even if the change you made does not affect the component's output. -Re-writing your tests in React Testing library worthwhile because you're trading +Re-writing your tests in React Testing library is worthwhile, because you're trading tests that slow you down for tests that give you more confidence and increase your productivity in the long run. ## How to migrate from Enzyme to React Testing Library? -One of the keys to a successful migrate is to do it incrementally, by running +One of the keys to a successful migration is to do it incrementally, by running the two test libraries side by side in the same application and porting Enzyme's tests to React Testing Library one by one. It makes it possible to migrate even large and complex applications without disrupting other businesses because the