You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've set up my grunt process to run node-coveralls. Thought I might share a code snippet that let me stay within grunt when calling coveralls.js. I'm using grunt-mocha-test to run my tests and coverage, and I use captureFile: 'test/coverage.log' from the mocha-lcov-reporter. I set this up because I couldn't figure out how to configure grunt-mocha-test to pipe the coverage data to coveralls.js. Thought it might help someone or perhaps there was an easier way and I didn't discover it!
Yes, it's coffeescript -- translation to js is left as an exercise :)
I've set up my grunt process to run node-coveralls. Thought I might share a code snippet that let me stay within grunt when calling coveralls.js. I'm using grunt-mocha-test to run my tests and coverage, and I use
captureFile: 'test/coverage.log'
from the mocha-lcov-reporter. I set this up because I couldn't figure out how to configure grunt-mocha-test to pipe the coverage data to coveralls.js. Thought it might help someone or perhaps there was an easier way and I didn't discover it!Yes, it's coffeescript -- translation to js is left as an exercise :)
The text was updated successfully, but these errors were encountered: