Signed-off-by: David Antler <david.a.antler@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
18 lines
361 B
JavaScript
18 lines
361 B
JavaScript
module.exports = function(grunt) {
|
|
grunt.loadNpmTasks('grunt-mocha-test');
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
mochaTest: {
|
|
test: {
|
|
options: {
|
|
reporter: 'spec'
|
|
},
|
|
src: ['test/*.js']
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.registerTask('test', ['mochaTest:test']);
|
|
};
|