Skip to content

Commit 1027888

Browse files
authored
Fixed qunit tests (coverage still missing). (django#7716)
1 parent 620dcdd commit 1027888

File tree

5 files changed

+7
-5529
lines changed

5 files changed

+7
-5529
lines changed

Gruntfile.js

+4-11
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@ var globalThreshold = 50; // Global code coverage threshold (as a percentage)
22

33
module.exports = function(grunt) {
44
grunt.initConfig({
5-
// Configuration to be run (and then tested).
6-
blanket_qunit: {
7-
default_options: {
8-
options: {
9-
urls: ['js_tests/tests.html?coverage=true&gruntReport'],
10-
globalThreshold: globalThreshold,
11-
threshold: 10
12-
}
13-
}
5+
qunit: {
6+
all: ['js_tests/tests.html']
147
}
158
});
169

17-
grunt.loadNpmTasks('grunt-blanket-qunit');
18-
grunt.registerTask('test', ['blanket_qunit']);
10+
grunt.loadNpmTasks('grunt-contrib-qunit');
11+
grunt.registerTask('test', ['qunit']);
1912
grunt.registerTask('default', ['test']);
2013
};

0 commit comments

Comments
 (0)