Hacker News new | ask | show | jobs
by kapperchino 528 days ago
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