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 uses rollup-plugin-istanbul for instrumentation at build time, and karma-coverage for consuming instrumentation and report generation.
Observed:
Tests run and pass, but error message appears:
ERROR [coverage]: TypeError: Cannot read property 'text' of undefined
at node_modules/istanbul/lib/report/html.js:286:60
...
Also, aggregate information as in build/coverage/report-html/src/index.html is generated, but the line-by-line reports such as build/coverage/report-html/src/doc.js.html are not generated.
Expected:
npm test should complete without error and per-file code HTML coverage reports should be generated by npm test.
The text was updated successfully, but these errors were encountered:
Steps performed:
Run
npm test
from command line.This uses rollup-plugin-istanbul for instrumentation at build time, and karma-coverage for consuming instrumentation and report generation.
Observed:
Tests run and pass, but error message appears:
Also, aggregate information as in
build/coverage/report-html/src/index.html
is generated, but the line-by-line reports such asbuild/coverage/report-html/src/doc.js.html
are not generated.Expected:
npm test
should complete without error and per-file code HTML coverage reports should be generated bynpm test
.The text was updated successfully, but these errors were encountered: