freeipa/install/ui/Gruntfile.js
Alexey Slaykovsky c450e2dc8f Make WebUI unit tests to generate results as JUnit
Now WebUI unit tests are generating results in qunit format which
is not consumable well by Jenkins.

This patch adds NPM dependency for adding generation results in
JUnit XML format so it can be easily processed.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-03-16 14:26:48 +01:00

17 lines
376 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
qunit_junit: {
options: {}
},
qunit: {
all: [
'test/all_tests.html'
]
}
});
grunt.loadNpmTasks('grunt-qunit-junit');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.registerTask('test', ['qunit_junit', 'qunit']);
};