Skip to content

hchiam/vue-test-utils-getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with vue-test-utils

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)

https://github.com/hchiam/tape-vue-example

About

Vue TDD: vue-test-utils + Jest: test a basic counter.js template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%