Closed petuomin closed 9 years ago
yup, that's by design. if you set coverage: true
in your options, you must provide a grunt.event.on('coverage', ...
as stated in the README https://github.com/pocesar/grunt-mocha-istanbul#boolean-optionscoverage-default-false
[...]
and you must manually call done() when you are finished, else the grunt task will hang
[...]
Oops. Indeed. :)
Thanks for the quick reply.
On lines 288-291:
The module emits a coverage event with coverage data and a callback. If there are no listeners executing that callback, done will never be called.