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 Enterprise > Lesson 28

Using spies

In this video, we'll complete the tests for our Item view component. We'll also be introducted to another Jest feature called "spies" that will help us to make assertions about our component output.

Let's now return to our "should add item to cart when user authenticated" test. In the last video, we set up an authenticated user and triggered a click on the Add to Cart button.


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