In the previous episode, we created a useful
assertOnNextTick() helper function to trigger and catch an assertion after Vue has performed its next "tick." However, Mocha allows for using asynchronous functions instead. Let's review that approach, and how it can drastically clean up and simplify our tests.
View the source code for this episode on GitHub.
Published on Nov 27th, 2017.