Coding With Justin

VideosCoursesPricing

Jest

Similar topics

Content

Vue 3 and Vuex Testing for Beginners

Vue 3 and Vuex Testing for Beginners

Testing in Vue 3 provides benefits such as easier refactoring later down the line, quicker debugging, and documentation about your application. Today, we will be creating a Vue 3 app and adding unit tests with jest. We'll do this by using the Vue Test Utils library which is a set of functions to simplify the testing of Vue.js components. It provides methods to mount and interact with Vue components in an isolated manner. We'll also take at a more advanced use case where we will create a mock Vuex store for the component.

videovuevuextestingjest

Justin Brooks • October 26, 2020

Coding With Justin

© 2021 Justin Brooks. All rights reserved.