我希望能够使用JSDOM作为浏览器,使用业力在角度上运行茉莉花测试。一旦安装了软件包,我就将插件添加到karma.conf.js中但是,当我使用命令ng test -browsers=jsdom运行测试时]: No captured browser, open http://localhost:9877/
Error: Uncaught [TypeError: Ca
我在使用Karma和Jasmine运行ng测试时遇到了问题。它会停止浏览器,当我取消运行时,它会抛出下面的错误。> Cannotreadproperty 'success' of undefined TypeError: Cannotread
> property 'success' of undefined> at TestCommand.ru
我有一个角度项目,并想测试一些组件。EcheqViewItemComponent should create
TypeError: Cannotreadproperty 'status' of undefinedTypeError: Cannotreadproperty 'status' of undef
我正试着让茉莉花的测试在卡玛进行。这是用于使用AngularJS应用程序的RequireJS,但就目前而言,该测试是一个简单的expect(true).toBe(true);测试,没有角度依赖关系。Cannotreadproperty 'failedCount' of null
at C:/...TypeError: Cannotreadproper