Code coverage report Branches for server/leaderboard.js is 50%
lc3t35 opened this issue · 2 comments
lc3t35 commented
As displayed by report :
Meteor.startup(function () { E if (Players.find().count() === 0) {
This is done once at startup, so the branch count() !== 0 is not covered by tests.
Deleted user commented
That will be because unit tests coverage combining is disabled until I figure out the issue with istanbul. I'll be back on that soon as I'm loaded with my startup work. I'll keep this open until I sort it
Deleted user commented
I've fixed this now, please see here: