google chrome - karma with karma-coverage takes to long to start -


i have problem karma (0.12.31), when running karma-coverage plugin.

executing karma, without coverage, tests running after few seconds. if execute karma karma-coverage plugin take more time. know coverage can take more time, think amount of time ridiculous.

with karma-coverage message "karma chrome have not captured in 60000 ms, killing", karma kills chrome (i'm using 43.0.2357.132). after 5 minutes, new chrome window open , after few seconds tests executed.

is configuration correct , it's "normal" having wait long? we're talking 4000 tests, though i'm running 12 of 4000.

this karma.conf.js file:

module.exports = function(config){    config.set({        browsernoactivitytimeout: 60000,        basepath : '../',        preprocessors: {            'templates/*.tmpl.html': ['ng-html2js'],            'scripts/**/**/*.js': ['coverage']        },             files: [            {pattern: 'styles/images/*.png', included: false, served: true},            'scripts/vendor/jquery-1.11.1.min.js',            'scripts/vendor/angular.js',            'tests/unit/angular-mocks.js',            'scripts/vendor/jquery.signalr-2.1.2.min.js',            'scripts/vendor/breeze.debug.js',            'scripts/vendor/go-debug.js',            'scripts/vendor/jqx-all.js',            'templates/*.tmpl.html',            'scripts/app.js',            'scripts/**/**/*.js',            'tests/unit/modelmetadata.js',            'tests/unit/solutionmetadata.js',            'tests/unit/testutils/*.js',            'tests/unit/**/**/*.js'        ],        proxies: {            '/styles': 'http://localhost:9876/styles/images',            '/scripts': 'http://localhost:9876/scripts/modules/ironpython'        },        autowatch : true,        frameworks: ['jasmine'],        browsers : ['chrome'/*, 'ie'*/], //, 'firefox'        plugins : [            'karma-coverage',            'karma-chrome-launcher',            //'karma-firefox-launcher',            //'karma-ie-launcher',            'karma-jasmine',            //'karma-teamcity-reporter',            'karma-ng-html2js-preprocessor'        ],        reporters: ['progress', 'coverage'],        nghtml2jspreprocessor: {            modulename: 'templates'        },  	  coveragereporter: {  		type : 'html',  		// store report  		dir : 'coverage/'  		}    });  };


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -