Created
December 2, 2015 22:01
-
-
Save samueleresca/bf4ac4ec48391b06d291 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Grunt configuration | |
module.exports = function(grunt) { | |
'use strict'; | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
//blanket_mocha CONFIGURATION | |
blanket_mocha: { | |
options: { | |
run: true, | |
reporter: 'Min', | |
// We want a minimum of 70% coverage | |
threshold: 70 | |
}, | |
files: { | |
src: '*.html' | |
} | |
} | |
}); | |
//Register the task as DEFUALT | |
grunt.registerTask('default', ['blanket_mocha']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment