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 27

Unit testing an API

Now that we've got a basic understanding about using Mocha for testing, we're going to create some unit tests for our API endpoints.

What is a unit test?

Before we begin, let's discuss an important concept, which is the idea of a "unit" in unit testing.

So, a unit, is a small, testable part of our application. Typically, this will be a function, like it was in the demo test that we wrote.


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