Thoughts on including react-testing-library in the default template?
Created by: kentcdodds
Now that React is officially recommending people use react-testing-library, I wonder whether people would be in favor of including it by default. I made a video about what you need to do to add react-testing-library to create-react-app:
https://www.youtube.com/watch?v=Yx-p3irizCQ&list=PLV5CVI1eNcJgCrPH_e6d57KRUTiDZgs0u&t=60s
This commit is me adding the library and setup: https://github.com/kentcdodds/create-react-app-react-testing-library-example/commit/ad467aebee35f2ce040402658d3365c7c1f6335c
Note: In that commit and video I demo how to include
jest-dom
which I think would be good to include as well, but I have no problem if ya'll would prefer not to include that.
I'd love to see a