How do we test asynchronous actions? The ones that depends on a API call that may or may not be resolved. This is what we are going to focus here: how to make sure your actions are called in order and how to intercept axios to not make actual API calls.
TL;DR: the complete code is in the end of the article!
Just to be clear this is what we are going to be using:
Front End developer and UI designer