You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
533 B
JavaScript
22 lines
533 B
JavaScript
module.exports = function(grunt) {
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
karma: {
|
|
unit: {
|
|
configFile: 'karma.conf.js'
|
|
},
|
|
integration: {
|
|
configFile: 'karma-integration.conf.js'
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-karma');
|
|
|
|
grunt.loadTasks('tasks');
|
|
|
|
grunt.registerTask('test', ['karma']);
|
|
grunt.registerTask('integrationtest', ['karma:integration']);
|
|
};
|