Fixed qunit tests (coverage still missing). (#7716)

This commit is contained in:
Florian Apolloner 2016-12-19 18:45:37 +01:00 committed by GitHub
parent 620dcdde6e
commit 10278885fd
5 changed files with 7 additions and 5529 deletions

View file

@ -2,19 +2,12 @@ var globalThreshold = 50; // Global code coverage threshold (as a percentage)
module.exports = function(grunt) {
grunt.initConfig({
// Configuration to be run (and then tested).
blanket_qunit: {
default_options: {
options: {
urls: ['js_tests/tests.html?coverage=true&gruntReport'],
globalThreshold: globalThreshold,
threshold: 10
}
}
qunit: {
all: ['js_tests/tests.html']
}
});
grunt.loadNpmTasks('grunt-blanket-qunit');
grunt.registerTask('test', ['blanket_qunit']);
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.registerTask('test', ['qunit']);
grunt.registerTask('default', ['test']);
};