kazupon / vue-plugin-boilerplate

:nut_and_bolt: Boilerplate for Vue.js plugin
MIT License
146 stars 9 forks source link

Issues with unit tests for node #2

Closed himalayafan closed 8 years ago

himalayafan commented 8 years ago

Really great starter boilerplate for Vue! However, I was missing a way of running unit tests on the server. When I try to set it up to run mocha through package.json, it all fails. I had to add a .babelrc file and use the normal ES2015-preset to get it to work.

However. That again screwed up Rollup.

Any idea how to set this up so I can run my unit tests with mocha not through Karma?

kazupon commented 8 years ago

support unit test and e2e. https://github.com/kazupon/vue-plugin-boilerplate/releases/tag/v3.0.0