Plans from $25/month
This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Mock JavaScript Modules with Vitest
Mocking allows you to alter the implemenation of functions that are outside of your control. This let's you produce specific cases for testing or skip some heavy operations like network requests in testing.
Links
Mocking & Spying in Vitest
8 lessons • 25 min1:12
3:36
1:48
3:52
1:49
NEXT CHAPTER
Testing with Vue 37 lessons • 15 min