Your Teacher | Jeffrey Way

https://pbs.twimg.com/profile_images/1179539487086514177/cl6UdqIS_400x400.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

How do we handle Vue components that make AJAX requests with Axios? Well, there are a number of options. We could set up a fake Sinon.JS server, or we could replace the axios dependency entirely with the test double library. A third option, which we'll review in this episode, is to use Moxios, a first-party library for mocking Axios requests.

View the source code for this episode on GitHub.

Published on Nov 6th, 2017.

Back to Series Button