运行angularjs业务时出错
在introtokarma应用程序中,我更改了karma-e2e-config.js文件,如下所示:
module.exports = function(config) { config.set({ basePath : '../',files : ['tests/e2e/**/*.js'],frameworks: ['ng-scenario'],autoWatch : false,browsers : ['Chrome'],singleRun : true,proxies : { '/': 'http://localhost:8000/' },junitReporter : { outputFile: 'test_out/e2e.xml',suite: 'e2e' } }); }; 运行代码时,我得到以下输出:
对于业力v0.10.2和最新的角度测试下一个命令:
npm install -g karma-ng-scenario karma-junit-reporter (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |