summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorFlorian Apolloner <apollo13@users.noreply.github.com>2016-12-19 18:45:37 +0100
committerGitHub <noreply@github.com>2016-12-19 18:45:37 +0100
commit10278885fd909085bd76ccc1690a979582455f9e (patch)
treeb3d917bed5b6404a2e9b6b59024e6d0b5c5552d6 /Gruntfile.js
parent620dcdde6e0e423a9343c63c7bc36d9e4301a2d8 (diff)
downloaddjango-10278885fd909085bd76ccc1690a979582455f9e.tar.gz
Fixed qunit tests (coverage still missing). (#7716)
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js15
1 files changed, 4 insertions, 11 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 9fa6826535..2bf8a10c81 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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']);
};