xolvio/meteor-rtd-example-project

Code coverage report Branches for server/leaderboard.js is 50%

lc3t35 opened this issue · 2 comments

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.

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

I've fixed this now, please see here:

xolvio/rtd#28