Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1 KB

README.md

File metadata and controls

39 lines (32 loc) · 1 KB

test_project v0.1.0

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

mocha-webpack is a wrapper around webpack + Mocha, but with a more streamlined interface and watch mode. The benefits of this setup is that we can get complete SFC support via webpack + vue-loader.

Customize configuration

See Configuration Reference.

More Information

  1. Vue Test Utils The official unit testing utility library for Vue.js.
  2. Testing Single-File Components with Mocha + webpack
  3. Mocha
  4. Mocha-webpack
  5. Chai
  6. Sinon