mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var globalThreshold = 50;  // Global code coverage threshold (as a percentage)
 | |
| 
 | |
| module.exports = function(grunt) {
 | |
|     grunt.initConfig({
 | |
|         qunit: {
 | |
|             all: ['js_tests/tests.html']
 | |
|         }
 | |
|     });
 | |
| 
 | |
|     grunt.loadNpmTasks('grunt-contrib-qunit');
 | |
|     grunt.registerTask('test', ['qunit']);
 | |
|     grunt.registerTask('default', ['test']);
 | |
| };
 |