1
karma-coverage로 lcov 리포터를 지원하려고합니다. 내가 필요한 보고서를 얻고있다karma-coverage : TypeError : 정의되지 않은 'split'속성을 읽을 수 없습니다.
ERROR [coverage]: TypeError: Cannot read property 'split' of undefined
at HtmlReport.writeDetailPage ({path}\node_modules\istanbul\lib\report\html.js:413:33)
하지만,이 오류가 내 빌드를 실패 : 나는 오류가 계속
coverageReporter: {
dir: 'reports/',
reporters: [
{ type: 'in-memory' },
{ type: 'lcov', subdir: 'report-lcov' },
]
},
:이처럼 내 카르마 설정을 수정했습니다. 이 문제를 해결할 방법이 있습니까?