Comment

Comment by d64f396930663ee

I always assumed the point of mocking a database response was to ensure that you were testing just your code, and not also the existence of a database with the right schema, the ability to connect to it, as well as the correctness of the code that rolls back any side effects.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton