LowerEarthOrbiters / Lower_Earth_Orbiters

Template for capstone projects
https://lower-earth-orbiters-frontend.vercel.app
MIT License
1 stars 1 forks source link

Added Satellite Calculation Testing #110

Closed quinnha closed 8 months ago

quinnha commented 8 months ago

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)