Closed svozza closed 8 years ago
Added Istanbul for code coverage stats and added the requisite test cases to turn this:
=============================== Coverage summary =============================== Statements : 99.47% ( 560/563 ) Branches : 96.12% ( 124/129 ), 23 ignored Functions : 100% ( 180/180 ) Lines : 99.63% ( 536/538 ) ================================================================================
Into this:
=============================== Coverage summary =============================== Statements : 100% ( 577/577 ) Branches : 100% ( 129/129 ), 23 ignored Functions : 100% ( 185/185 ) Lines : 100% ( 552/552 ) ================================================================================
I wasn't sure whether to make npm test run code coverage and fail if coverage went below 100 percent though so I just added a new script called test:coverage. Thoughts?
npm test
test:coverage
Lets try it, If there is a problem well look at it :)
Added Istanbul for code coverage stats and added the requisite test cases to turn this:
Into this:
I wasn't sure whether to make
npm test
run code coverage and fail if coverage went below 100 percent though so I just added a new script calledtest:coverage
. Thoughts?