Open Endle opened 10 years ago
@Endle thanks for letting us know. You receive this error because the generated LCOV file is empty (2). Anyhow even if it would be there (3) would be blocking you.
@emepyc I temporarily disabled the coveralls
task. (=CLI answer for coverage is always false).
The main reasons were that:
(1) the command is failing for an empty test folder (see above)
(2) the LCOV file (produced by mocha --reporter mocha-lcov-reporter --require blanket
) is empty for the blank setup (it is failing because the tests are split up in test/dom
(tested with PhantomJS) and test/unit
- mocha --reporter mocha-lcov-reporter --require "blanket" test/unit
would work)
(3) coveralls
needs registration in the web (otherwise it returns Couldn't find a repository matching this job
)
(4) I would prefer if we generate the lcov
in entirely in JS code (gulpfile.js
).
I would be glad to re-enable the coveralls task after we resolved those points :)
A package maybe worth looking could be gulp-coverage.
$ slush biojs
Then, ran$npm test
, and it fails:And I've written a dirty hack for that:
Maybe this is related to Dependency of glup failed #7 ?