Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

f3liperamos/vue-mocha

Repository files navigation

Archive notice

Consider using the new @vue/cli. There's a lot of outdated packages here and this repository was only a proof of concept to get coverage working properly with vue files.

At the end, the best approach is still separate your bussiness in a plain javascript files with proper patterns.

Useful resources:

Scripts

To run project in development mode

npm start

To build repository to production. You'll see a "dist" folder.

npm build

Runs tests.

npm test

You can pass more options if you want, i.e

npm test -- --watch

Currently not working.

npm coverage

TODO

  • Link to any article about "test folder vs file.spec on same folder"

About

(very) Simple mocha+vue config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published