CenterForDigitalHumanities / TPEN-services

Services required by TPEN interfaces in order to interact with data
1 stars 0 forks source link

WIP on Issue #58 #65

Closed leandrumartin closed 7 months ago

leandrumartin commented 7 months ago

I added tests for the /project endpoint, testing for appropriate responses to badly formatted project IDs and for a correct code response to a good request. I also implemented better error handling for a better error message in case of a server-side error. The tests can be run with npm run unitTests.