jicamargo / space-travelers

A Space-X-React-Group app built with React, Redux, CSS, and HTML. Users can view information about the latest Space-X launches, rockets, and missions. The app also features a search function, allowing users to search for information about specific launches, rockets, or missions.👌
https://space-travelers-five.vercel.app
MIT License
2 stars 0 forks source link

Jest Testing functions (Rockets) #30

Closed jicamargo closed 1 year ago

jicamargo commented 1 year ago

Jest Testing functions (Rockets)

This PR adds test files for:

Testing is an essential part of ensuring the stability and reliability of the application. By adding these tests, we can verify that the Rockets and Missions slices in the Redux store are functioning correctly, making it easier to catch and prevent potential issues.

How to Test

  1. Ensure that all dependencies are installed by running npm install or yarn install.
  2. Run the tests with the command npm test or yarn test.
  3. Verify that all the tests in the RocketsSlice.test.js and MissionsSlice.test.js files pass successfully.
  4. Manually test the Rockets and Missions functionality in the application to ensure that the tests cover all relevant scenarios.

Please review and merge this PR. Thank you!

abiy006 commented 1 year ago

It's an interesting and very clever testing work performed Jorge. I have learned a lot to be partnered with you.