Hhaodongshi发布于 10 年前
030230
项目是基于angularJS框架开发的移动端UI框架,单元测试使用karma+jasmine进行测试,由于组件的js是一个闭包体,使用karma-coverage生成测试覆盖率,但是一直报:can not load “coverage”! typeError: undefined is not a function at createCoveragePreprocessor,请教各位大神指点,有什么解决办法,多谢!
项目是基于angularJS框架开发的移动端UI框架,单元测试使用karma+jasmine进行测试,由于组件的js是一个闭包体,使用karma-coverage生成测试覆盖率,但是一直报:can not load “coverage”! typeError: undefined is not a function at createCoveragePreprocessor,请教各位大神指点,有什么解决办法,多谢!