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
Node v9.5.0
NPM v5.6.0
ng v6.1.0
macOS High Sierra
Repro steps
Create a basic Angular project
Enter the project folder
Generate a library
Test that library & create code coverage
Open the coverage HTML
Navigate to src/lib/ and then any file (in my screen shot, I chose test-lib.component.ts)
ng new test-lib-app
cd test-lib-app
ng generate library test-lib
ng test test-lib --watch=false --code-coverage
open coverage/index.html
The log given by the failure
Desired functionality
Code coverage should be 100% and the highlights should not include portions of the strings in the import call, icons around the code, etc.
Mention any other details that might be useful
No other details.
The text was updated successfully, but these errors were encountered:
frankrue
changed the title
Inaccurate Coverage/Highlighting in Code Coverage for Projects
Inaccurate Coverage/Highlighting in Code Coverage for Libraries in Projects
Aug 9, 2018
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Node v9.5.0
NPM v5.6.0
ng v6.1.0
macOS High Sierra
Repro steps
test-lib.component.ts
)The log given by the failure
Desired functionality
Code coverage should be 100% and the highlights should not include portions of the strings in the import call, icons around the code, etc.
Mention any other details that might be useful
No other details.
The text was updated successfully, but these errors were encountered: