random-world
Version:
Nodejs. module to generate random collections of data.
29 lines (25 loc) • 613 B
JavaScript
/**
* unit tests with mocha
*
* @param {[type]} grunt [description]
* @return {[type]} [description]
*/
module.exports = function(grunt) {
grunt.initConfig({
simplemocha: {
options: {
globals: ['expect'],
timeout: 3000,
ignoreLeaks: true,
ui: 'bdd',
reporter: 'tap'
},
// all tests
all: {
src: ['tests/*.js']
}
}
});
grunt.loadNpmTasks('grunt-simple-mocha');
grunt.registerTask('default', ['simplemocha']);
};