mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02: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']);
|
|
|
|
};
|