In this post, we will see how to mock an Axios call with Jest in vue-test-utils library. For this article, let’s create a Posts.vue component… Read More »How to Mock an AXIOS call with Jest in vue tests utils
In this post, we will see the differences between shallowMount and mount functions in vue-test-utils library and what they both offer us in terms of… Read More »shallowMount vs mount in vue test utils with an example
For unit testing Vue projects, VueJS created a utility project for testing Vue apps. So, the utilities will create the configuration for running tests. We… Read More »Setting up unit tests In Vue With Jest framework
This post as you read from the title is about unit testing for private methods. Do we really need to test the private methods in the unit tests?