alexandria-reader / backend

Alexandria reading app back end
https://tryalexandria.com/
6 stars 1 forks source link

format: improve formatting, fix broken tests #146

Closed eamon0989 closed 2 years ago

eamon0989 commented 2 years ago

Description

Added prettier. Ran prettier to auto format code for consistency. Updated and fixed all tests, removed tests that work for routes/services that no longer exist. Added husky pre-commit hook to auto format code when committed. Added a section to the README explaining how to get started with local development.

Type of Changes

Type
:bug: Bug fix
:sparkles: New feature
x :hammer: Refactoring
x :100: Add tests
:link: Update dependencies
x :scroll: Docs

Testing Steps / QA Criteria

Run npm run pgtest.

eamon0989 commented 2 years ago

I'm merging this PR as it's just formatting changes and updating tests.