ourjapanlife / findadoc-server

The api / server for Find A Doc, Japan. Check out the board to see the latest effort https://github.com/orgs/ourjapanlife/projects/8
3 stars 1 forks source link

chore: add tests and types for coordinates #484

Closed NabbeunNabi closed 3 weeks ago

NabbeunNabi commented 3 weeks ago

Resolves https://github.com/ourjapanlife/findadoc-server/issues/482

What changed

-Before the facility submissions didn't have the map coordinate type so we couldn't autofill on the frontend with the types generated on the frontend by the schema on the backend. I added two tests for the query of submissions to make sure that the coordinates appeared as expected

Testing instructions

You can go to the branch and run the tests with:

npm run test