Comment by bni
3 months ago
Most IO nowadays in my context is to call some REST API. I prefer to use nock (https://github.com/nock/nock) With that I can create an environment for my test to run in without changing anything about the implementation.
The article does not seem to bring up this way to do it.
No comments yet
Contribute on Hacker News ↗