grunt-template-jasmine-istanbul-example
grunt-template-jasmine-istanbul-example copied to clipboard
Required config property "jasmine.coverage" missing
my code :
jasmine: {
coverage: {
src: ['tests/**/*.js']
options: {
specs: ['tests/js/*.js'],
template: require('grunt-template-jasmine-istanbul'),
templateOptions: {
coverage: 'bin/coverage/coverage.json',
report: 'bin/coverage',
thresholds: {
lines: 75,
statements: 75,
branches: 75,
functions: 90
}
}
}
}
},
gruntfile.js
grunt.registerTask('test:coverage', ['jasmine:coverage']);
my package.json file
"grunt-template-jasmine-istanbul": "^0.3.0",
error:
Running "jasmine:coverage" (jasmine) task
Verifying property jasmine.coverage exists in config...ERROR
>> Unable to process task.
Warning: Required config property "jasmine.coverage" missing. Use --force to continue.
Aborted due to warnings.
what the error mean? and what kind of property i need to put in ? please help
is this still an issue?