Testing
Testing in Vue is quite a significant topic in itself. The recommended reading here is a book written by the creator of Vue Test Utils as this covers everything you'd need in context and depth:
Testing Vue.js Applications
Buy Testing Vue.js Applications 1 by Yerburgh, Edd (ISBN: 9781617295249) from Amazon's Book Store. Everyday low prices and free delivery on eligible orders.

Of course the free online docs are available for both Jest and Vue Test Utils too:
Getting Started · Jest
Install Jest using : yarn add --dev jest npm install --save-dev jest Note: Jest documentation uses yarn commands, but npm will also work. You can compare yarn and npm commands in the yarn docs, here. Let's get started by writing a test for a hypothetical function that adds two numbers.

Introduction | Vue Test Utils
Utilities for testing Vue components
https://vue-test-utils.vuejs.org/