vendredi 21 août 2015

AngularJS Directives - unit tests Karma coverage

I have a problem covering directives unit tests. I used the way from : http://ift.tt/L1PHrx (by Julien Bouquillon) to create unit tests for my directives. The ideea presented on that blog looked great for my needs and well explained, but my issue is that the coverage is not reflected in Karma Coverage(Istanbul code coverage tool).

How should I create my directive unit tests in order to be reflected in coverage summary? Has someone an example that make it possible?

Thank you!

Aucun commentaire:

Enregistrer un commentaire