Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • 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
  • covid19india
  • covid19india-react
  • Issues
  • #2329
Closed
Open
Issue created Aug 24, 2020 by Sarabjeet Singh@singh-sarabjeet

Add unit testing for React components using Jest

Is your feature request related to a problem? Please describe. A unit testing framework will ensure the code doesn't break by additions of new features or bug fixes.

Describe the solution you'd like We can add Jest as the testing library and all new features added should have unit test cases for them. Also, unit test cases for previously written code can be added slowly.

Describe alternatives you've considered Multiple alternatives such as Mocha, Jasmine, Enzyme and React-testing-library were considered but Jest is the recommended library for testing react by Facebook.

Assignee
Assign to
Time tracking