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.
Full-Stack Vue + Node > Lesson 48

Testing protected routes

If we try and run our unit tests, now, you'll see our POST /items tests fail. This is because we've now protected the item routes and are now getting 401 Unauthorized errors.

Similar to our Postman requests, we're going to need to update the tests ensure an admin user is being used.

Updating seed


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