Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #6358
Closed
Open
Issue created Feb 07, 2019 by Administrator@rootContributor

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 👍 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 😉).

Assignee
Assign to
Time tracking