mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
25 lines
665 B
JavaScript
25 lines
665 B
JavaScript
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']);
|
|
|
|
};
|