Im getting Executed 0 of 0 ERROR
error when trying to run unit test cases.
I followed few solutions that was mentioned for this problem, but still i get the same error.
Tried:
- Removing the
angular-scenario
file - Added
angular-scenario
in exclusion list.
But nothing worked. I still get the same error. My karma.conf.js
file is
module.exports = function(config){
config.set({
basePath : '../',
files : [
'app/lib/angular/angular.js',
'test/lib/angular/angular-mocks.js',
'app/js/*.js',
'test/unit/*.js'
],
exclude : ['test/lib/angular/angular-scenario.js'],
autoWatch : true,
frameworks: ['jasmine'],
browsers : ['Chrome'],
plugins : [
'karma-junit-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine'
],
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
})}