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
When running Jest for test coverage, a Vue component (Single File Component) won't show up in the coverage report unless it has at least 1 line of executable JS code.
An example of executable JS code, is adding a method to the component (even if you don't use the method). Once there's at least 1 line, the file will show up in the coverage report.
I use the coverage report to see which files have yet to be covered by the coverage report. Even the simple Vue components with no executable JS code.
The text was updated successfully, but these errors were encountered:
When running Jest for test coverage, a Vue component (Single File Component) won't show up in the coverage report unless it has at least 1 line of executable JS code.
An example of executable JS code, is adding a method to the component (even if you don't use the method). Once there's at least 1 line, the file will show up in the coverage report.
I use the coverage report to see which files have yet to be covered by the coverage report. Even the simple Vue components with no executable JS code.
The text was updated successfully, but these errors were encountered: