【发布时间】:2018-03-23 11:52:21
【问题描述】:
将 Ionic 与 jasmine-karma 结合使用,在运行测试时,编译成功,但在 jasmine 仪表板中出现空白屏幕,控制台出现错误。
以下教程:https://leifwells.github.io/2017/08/27/testing-in-ionic-configure-existing-projects-for-testing/
"ts-loader": "^4.1.0",
"jasmine-core": "^2.99.1"
错误信息:
TypeError: env.stopOnSpecFailure is not a function at adapter.js:26
Error: Module build failed: TypeError: Cannot read property 'afterCompile' of undefined
【问题讨论】:
标签: ionic-framework jasmine karma-jasmine