Files
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

31 lines
484 B
JavaScript

'use strict';
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.initConfig({});
grunt.config('karma', {
options: {
configFile: 'karma.conf.js',
singleRun: true
},
test: {}
});
grunt.config('mochaTest', {
test: {
options: {
reporter: 'spec'
},
src: ['./test.js']
}
});
grunt.registerTask('default', [
'mochaTest',
'karma'
]);
};