mercredi 1 juin 2016

Exclude jQuery Require from Code Coverage Report

I am setting up unit testing and code coverage reports for my JavaScript code. I am requiring jQuery in some of the modules I am testing using the require('jquery') notation and because of this my code coverage is a very low percentage. I have to have jQuery to run some of these modules, but I don't want the jQuery library to be included in the code coverage report. Is this possible?

Aucun commentaire:

Enregistrer un commentaire