I think the reason why I don't write as much tests as I should is because mocking and stubbing things is terribly hard to set up and never seems to work. Just spent an hour to try to stub the fetch requests and it just doesn't wok at all.

Replies

Back to notes