diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000000..9fa6826535 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,20 @@ +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 + } + } + } + }); + + grunt.loadNpmTasks('grunt-blanket-qunit'); + grunt.registerTask('test', ['blanket_qunit']); + grunt.registerTask('default', ['test']); +}; |