You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a dummy test as you can probably tell, but I wanted to prove I could call a method on my service and see it picked up in my coverage report.
I do indeed see the file covered by the output html report, but I also see my other TS sources showing with coverage even though I havent written any specs for these. Is this normal behaviour? I was hoping I would see zero coverage for anything that doesnt have a spec file associated, is this a config option?
Thanks
The text was updated successfully, but these errors were encountered:
This is expected behavior, but you can exclude files from the coverage report by using the setting karmaTypescriptConfig.coverageOptions.exclude, as suggested in #116!
I have just started using this plugin for an angularJS application and have so far setup a very simple test for a service I have:
This is just a dummy test as you can probably tell, but I wanted to prove I could call a method on my service and see it picked up in my coverage report.
I do indeed see the file covered by the output html report, but I also see my other TS sources showing with coverage even though I havent written any specs for these. Is this normal behaviour? I was hoping I would see zero coverage for anything that doesnt have a spec file associated, is this a config option?
Thanks
The text was updated successfully, but these errors were encountered: