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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -