Hacker News new | ask | show | jobs
by bccdee 207 days ago
I think making narrow use-case-specific test doubles is often better than a big shared one. You can even wrap the API with an interface that only exposes the methods you need.