Unit testing with SystemJS, Mocha and Vue.js
This is the first introductory part which expands Vue's testing from it’s guide with the Javascript testing tool Mocha and SystemJS Dynamic ES module loader.
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting while mapping uncaught exceptions to the correct test cases.
For this to work, you need to setup jspm, mocha and should installed to NPM. You can check out the code in a single file here, and find the second part of this walk through, which is a complete test example.