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

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:

Like what you read? Give Chet Corcos a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.