Description
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: kentcdodds/create-react-app-react-testing-library-example@ad467ae
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 👍 if you're in favor and a 👎 if you're not. I promise to not tweet about this issue myself to avoid bringing unfair attention in my favor (though others can feel free to if they want 😉).