node-red/Gruntfile.js

25 lines
665 B
JavaScript
Raw Normal View History

2014-03-31 12:31:31 +00:00
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
simplemocha: {
options: {
globals: ['expect'],
timeout: 3000,
ignoreLeaks: false,
ui: 'bdd',
reporter: 'tap'
},
all: { src: ['test/*.js'] }
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-simple-mocha');
// Default task(s).
grunt.registerTask('default', ['simplemocha']);
};