Using Jasmine for testing Vue
Jasmine is a library for testing, it's very easy to use and it's capable of displaying the results of the tests directly in the browser. In this recipe, you will build a simple Vue application and you will test it with Jasmine.
Getting ready
I hope you don't start learning Vue with this recipe because I'm going to assume, as I will with the rest of the chapter, that you already know the basics of building simple applications in Vue.
You should also be able to find four files on the Internet. I will write the link as I found them at writing time but, of course, they may change:
You can conveniently copy-paste all the links from the https://cdnjs.com/libraries/jasmine page.
The files are dependent on each other, so...