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
Also, the main file I am testing shows "Coverage: 32/37 lines". I added 4 basic public methods:
public testing(): void {
console.log('here');
}
Deleted my coverage folder and re-ran the tests and that number did not change. I even tried closing the file and re-opening it to no avail. I have discovered that if I close VS Code and re-open it, the values change to ""Coverage: 32/40 lines"
But I never see any underlining.
I even tried ng test --no-watch --code-coverage --source-map with no difference.
Any thoughts?
The text was updated successfully, but these errors were encountered:
Using Angular 11 with the standard Karma tool that comes with the CLI.
I added the lcovonly reporter to the Karma config
I have codeCoverage activated in my angular.js file
I am running my tests using
ng test
Also, the main file I am testing shows "Coverage: 32/37 lines". I added 4 basic public methods:
Deleted my coverage folder and re-ran the tests and that number did not change. I even tried closing the file and re-opening it to no avail. I have discovered that if I close VS Code and re-open it, the values change to ""Coverage: 32/40 lines"
But I never see any underlining.
I even tried
ng test --no-watch --code-coverage --source-map
with no difference.Any thoughts?
The text was updated successfully, but these errors were encountered: