maenu / grunt-template-jasmine-istanbul-example

Example application using grunt-istanbul and grunt-contrib-jasmine
MIT License
21 stars 8 forks source link

Required config property "jasmine.coverage" missing #7

Open shabfactor opened 10 years ago

shabfactor commented 10 years ago

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

gyandeeps commented 9 years ago

is this still an issue?