Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Vue Fullstack > Lesson 24

Setting up Mocha

It's great that we can use Postman and Compass to test our API manually, but as we add more complex endpoints, it'd be much easier to test them automatically.

To do this, we will set up some unit tests using the Mocha JavaScript testing framework.

To install it, let's run the following:

$ npm i -D mocha@5

Test location


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom