Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Enterprise Vue > Lesson 25

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...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

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

  • RSS
  • |
  • Atom