gruntjs - Grunt qunit is failing -
i have configured qunit task grunt below:
// unit test configuration qunit: { ac: { files: ['test/**/*.html'] } } grunt.registertask('ac', ['jshint:ac', 'qunit:ac']);
jshint running fine. qunit getting error:
running "qunit:ac" (qunit) task warning: cannot use 'in' operator search 'src'
change files: ['test/**/*.html']
src: ['test/**/*.html']
. files
property intended multiple src/dest
pairings. see http://gruntjs.com/configuring-tasks#files-object-format
for example:
qunit: { ac: { files: [{ src: ['test/**/*.html'] }, { src: ['test2/**/*.html'] }] } }
a more simple config if want test/**/*.html
be:
qunit: { ac: ['test/**/*.html'] }
Comments
Post a Comment