Am I just being paranoid or do you agree? I was wondering if you might share with us how you handle the mocking of your api modules either in my comment here or as another blog post?
I really liked this article.
Zac Braddy
13

I just use `sinon` and mock only the functions I need on the fly. But if you wanted to mock out entire modules, I’d recommend using webpack’s resolve alias functionality:

https://webpack.github.io/docs/configuration.html#resolve-alias

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.