Open
Description
When I use the json-cov reporter and output to a file (like in the setting below) the contents of the file get truncated. It ends up being invalid json with missing data.
mocha_phantomjs: { coverage: { options: { reporter: 'json-cov', output: 'coverage.json', urls: ['http://url/to/index.html'] }, }, }
If I run mocha_phantomjs from the command line like so...
mocha-phantomjs -R json-cov http://url/to/index.html > coverage.json
... then I get a completely populated file. This leads me to believe it's either an issue with the grunt plugin or with grunt itself. If it matters, the truncated file ends up being about 648k and the fully-populated file is 965k.
Metadata
Assignees
Labels
No labels