javascript - Using Jasmine.js Warning:boot is not defined -
i'm using jasmine 1.3 requirejs , grunt. have grunt task this:
jasmine: { app: { options: { outfile: "<%= config.testpath() %>/jasmine_runner/_specrunner.html", specs: ["<%= config.testpath() %>/specs/*spec.js"], template: require('grunt-template-jasmine-requirejs'), templateoptions:{ requireconfigfile: ['<%= config.apppath() %>/js/config.js','<%= config.testpath() %>/specs/testconfig.js'] } } } }
from command line, execute grunt jasmine gives error:
running "jasmine:app" (jasmine) task warning: boot not defined use --force continue. aborted due warnings.
phantomjs set run in background. have done extensive search on boot error means haven't found anything.
try updating version of grunt-contrib-jasmine
.
upgrading 0.5.1
0.7.0
fixed issue me.
here's package.json reference:
{ "name": "...", "version": "0.1.0", "description": "...", "devdependencies": { "grunt": "^0.4.5", "matchdep": "^0.3.0", "grunt-contrib-concat": "^0.4.0", "grunt-contrib-uglify": "^0.5.0", "grunt-contrib-watch": "^0.6.1", "grunt-contrib-compass": "^0.9.0", "grunt-contrib-requirejs": "~0.4.4", "grunt-contrib-jasmine": "~0.7.0", "grunt-template-jasmine-requirejs": "~0.2.0" }, ... }
Comments
Post a Comment