atlp-rwanda / dynamites-ecomm-fe

https://dynamites-ecomm-fe.netlify.app/
0 stars 0 forks source link

Set up testing for our ecommerce frontend #18

Closed niyobern closed 1 week ago

niyobern commented 3 weeks ago

Description

We need to set up a robust testing environment for our TypeScript + Vite + React project. The testing setup should include unit tests, integration tests, and end-to-end tests to ensure the reliability and stability of our codebase.

Tasks

Acceptance Criteria

  1. Jest is installed and configured with TypeScript and Vite.
  2. React Testing Library is integrated with Jest.
  3. Cypress is installed and configured.
  4. Sample unit tests, integration tests, and end-to-end tests are written and pass successfully.
  5. Documentation is updated with instructions on how to run the tests.