-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add istanbul to Build System #2
Comments
Look into using nyc. Seems to make more sense with what we are trying to achieve. https://github.com/istanbuljs/nyc http://stackoverflow.com/questions/33621079/running-mocha-istanbul-babel |
Also make sure to include cross-env, so that babel-istanbul is picked up when using a test environment: https://github.com/istanbuljs/nyc |
Issue solved. Using the following command
Credit must be given where credit is deserved. Config for mocha.opts found in the following thread thread. However, used mocha.opts instead of conf, and did not use all of npm task as it is superfluous. |
Currently Mocha and Chai are implemented with ES6. However, the build is currently lacking istanbul, which gives the following error:
No coverage information was collected, exit without writing coverage information.
It might be related to the following: gotwarlost/istanbul#262
The text was updated successfully, but these errors were encountered: