mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
22 lines
365 B
JavaScript
22 lines
365 B
JavaScript
var mocha = require('mocha');
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
/* add the grunt-mocha-test task */
|
|
grunt.loadNpmTasks('grunt-mocha-test');
|
|
|
|
/* grunt configuration */
|
|
grunt.initConfig({
|
|
mochaTest: {
|
|
test: {
|
|
options: {
|
|
reporter: 'spec'
|
|
},
|
|
src: ['tests/*.js']
|
|
}
|
|
}
|
|
});
|
|
|
|
/* test task */
|
|
grunt.registerTask('test', 'mochaTest');
|
|
};
|