Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just mock the repository which calls the db, and to test the queries themselves, use the real db as a docker container, or integration test with an existing db


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: