Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 660 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 660 Bytes

Testing Vue

Want to get started with unit testing in Vue? Here's pretty much everything you need. We'll cover setting up a test runner, using Vue Test Utilities, mocking and stubbing common dependencies like Vue Router and Axios, and testing Vuex both within components and in isolation. Let's get testing.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.