mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed qunit tests (coverage still missing). (#7716)
This commit is contained in:
parent
620dcdde6e
commit
10278885fd
5 changed files with 7 additions and 5529 deletions
15
Gruntfile.js
15
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']);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue