Skip to content

Commit

Permalink
Fixed qunit tests (coverage still missing). (django#7716)
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 authored Dec 19, 2016
1 parent 620dcdd commit 1027888
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5,529 deletions.
15 changes: 4 additions & 11 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
};
Loading

0 comments on commit 1027888

Please sign in to comment.