Added Satellite Calculation Testing for getSatelliteInfo(), /getSatelliteInfo, and /getNextPasses
Set up tests for valid and invalid TLE with Jest and Supertest (for endpoints) in leo-server-app. Also set up coverage test on server side.
Further work needs to be done to complete satellite testing for adding new satellite, and assigning users. @Umang-Rajkarnikar please follow current implementation when you add tests!
To run the tests:
npm run build && npm run test
(don't forget to run npm install for the new dependencies)
Added Satellite Calculation Testing for getSatelliteInfo(), /getSatelliteInfo, and /getNextPasses
Set up tests for valid and invalid TLE with Jest and Supertest (for endpoints) in leo-server-app. Also set up coverage test on server side.
Further work needs to be done to complete satellite testing for adding new satellite, and assigning users. @Umang-Rajkarnikar please follow current implementation when you add tests!
To run the tests:
npm run build && npm run test
(don't forget to run
npm install
for the new dependencies)