Testing Vue.js Components with Jest
Packt
Posted on November 29, 2019
Author: Alex Jover Morales
Overview
Unit test your Vue.js components with this fully featured JavaScript testing framework
Learn
Set up a Vue-test project to get started with Jest
Unit test your components using techniques such as shallow rendering
Gain insights into how to test the reactive parts in the logic of the Vue.js components
Explore how to test deeply rendered Vue.js components
Perform easy and quick tests with module dependency mocking, module aliasing, and more
Know-how and when to use snapshot testing
This book shows you how to test Vue.js components easily and take advantage of the fully featured Jest testing framework with the aid of practical examples. You'll learn the different testing styles and their structures. You'll also explore how your Vue.js components respond to various tests. You'll see how to apply techniques such as snapshot testing, shallow rendering, module dependency mocking, and module aliasing to make your tests smooth and clean.
By the end of this book, you'll know all about testing your components by utilizing the features of Jest.
Posted on November 29, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.