Getting started with vue-test-utils
February 13, 2018 ยท View on GitHub
Example project with a basic counter.js file, using vue-test-utils and Jest to run unit tests.
Setup
git clone https://github.com/hchiam/vue-test-utils-getting-started.git
cd vue-test-utils-getting-started
npm install
npm test
Note to self: Jest uses npm command, Tape uses node command.
Resources
More Advanced Examples With .vue Files and Components:
With Jest
https://github.com/hchiam/vue-test-utils-jest-example
With Tape
(but use npm test)