1
1
<div align =" center " >
2
- <h1 >react-testing-library </h1 >
2
+ <h1 >React Testing Library </h1 >
3
3
4
4
<a href =" https://www.emojione.com/emoji/1f410 " >
5
5
<img
@@ -16,7 +16,7 @@ practices.</p>
16
16
<br />
17
17
18
18
[ ** Read The Docs** ] ( https://testing-library.com/react ) |
19
- [ Edit the docs] ( https://github.com/alexkrolick /testing-library-docs )
19
+ [ Edit the docs] ( https://github.com/testing-library /testing-library-docs )
20
20
21
21
<br />
22
22
</div >
@@ -85,7 +85,7 @@ your team down.
85
85
86
86
## This solution
87
87
88
- The ` react-testing-library ` is a very lightweight solution for testing React
88
+ The ` React Testing Library ` is a very lightweight solution for testing React
89
89
components. It provides light utility functions on top of ` react-dom ` and
90
90
` react-dom/test-utils ` , in a way that encourages better testing practices. Its
91
91
primary guiding principle is:
@@ -312,18 +312,18 @@ Some included are:
312
312
- [` react- router` ](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples/tree/master/?fontsize=14&module=%2Fsrc%2F__tests__%2Freact-router.js&previewwindow=tests)
313
313
- [` react- context` ](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples/tree/master/?fontsize=14&module=%2Fsrc%2F__tests__%2Freact-context.js&previewwindow=tests)
314
314
315
- You can also find react-testing-library examples at
315
+ You can also find React Testing Library examples at
316
316
[react-testing-examples.com](https://react-testing-examples.com/jest-rtl/).
317
317
318
318
## Hooks
319
319
320
320
If you are interested in testing a custom hook, check out
321
- [react-hooks-testing-library ][react-hooks-testing-library].
321
+ [React Hooks Testing Library ][react-hooks-testing-library].
322
322
323
323
> NOTE it is not recommended to test single-use custom hooks in isolation from
324
324
> the components where it's being used. It's better to test the component that's
325
- > using the hook rather than the hook itself. The react-hooks-testing-library is
326
- > intended to be used for reusable hooks/libraries.
325
+ > using the hook rather than the hook itself. The ` React Hooks Testing Library `
326
+ > is intended to be used for reusable hooks/libraries.
327
327
328
328
## Guiding Principles
329
329
@@ -351,7 +351,7 @@ light-weight, simple, and understandable.
351
351
## Docs
352
352
353
353
[**Read The Docs**](https://testing-library.com/react) |
354
- [Edit the docs](https://github.com/alexkrolick /testing-library-docs)
354
+ [Edit the docs](https://github.com/testing-library /testing-library-docs)
355
355
356
356
## Issues
357
357
@@ -556,6 +556,6 @@ Contributions of any kind welcome!
556
556
[good-first-issue]: https://github.com/testing-library/react-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A"good+first+issue"+
557
557
[reactiflux]: https://www.reactiflux.com/
558
558
[stackoverflow]: https://stackoverflow.com/questions/tagged/react-testing-library
559
- [react-hooks-testing-library]: https://github.com/mpeyper /react-hooks-testing-library
559
+ [react-hooks-testing-library]: https://github.com/testing-library /react-hooks-testing-library
560
560
561
561
<!-- prettier-ignore-end -->
0 commit comments