We encountered the exact problem in our installation. The problem is only the wrong path in the src path. So make sure you set your paths correctly.
Below is an example of code that worked for us. The problem should be exactly in the configuration of the source path.
jasmine : {
coverage : {
src : [
'web/js/sad/service/common/model/**/*.js' ],
options : {
specs : [ 'tests/**/*.js' ],
template : require('grunt-template-jasmine-istanbul'),
vendor : [ '../3rdParty/extjs-4.1.0/*.js',
'web/js/common/controller/**/*.js' ],
templateOptions : {
coverage : 'bin/coverage/coverage.json',
report : 'bin/coverage',
thresholds : {
lines : 5,
statements : 5,
branches : 1,
functions : 1
}
}
}
}
}