3 ms·
So the supposed lesson is that generic third party APIs are hard to mock, so you need to write helper methods everywhere so you can mock those instead?
by jayd16 4y ago
So the supposed lesson is that generic third party APIs are hard to mock, so you need to write helper methods everywhere so you can mock those instead?
- hynek 4y agoI know you’re being facetious but: the lesson is rather that mocking generic third-party APIs is so easy, that you can end up in mocking hell real fast. And that you should take the harder route for your future sanity.