Blanket.JS doesn't generate a report in Mocha

114 Views Asked by At

On the Blanket.JS website it is said that Mocha is supported. I followed the procedure of including blanket.js on my test page and put the data-cover attribute on the appropriate script elements but no report of coverage is being shown on the generated test page.

I have only 2 unit tests: 1 for a Backbone.js Model and 1 for a Backbone.js Collection. Can somebody assist me in getting the code coverage report?

1

There are 1 best solutions below

0
On

Nevermind, to solve this problem you need to include mocha-blanket.js, also.