使用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"
Run Code Online (Sandbox Code Playgroud)
错误消息:
TypeError: env.stopOnSpecFailure is not a function at adapter.js:26
Error: Module build failed: TypeError: Cannot read property 'afterCompile' of undefined
Run Code Online (Sandbox Code Playgroud)