chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

Public API: Add unit tests for APIResponse classes #906

Open shymkom45 opened 2 months ago

shymkom45 commented 2 months ago

Currently, several classes are defined in packages/transition-backend/src/api/public/ as a means to convert internal data to the appropriate output format for the public API. These classes should include unit tests to ensure that the conversion is always done appropriately.