Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created December 2, 2015 22:01
Show Gist options
  • Save samueleresca/bf4ac4ec48391b06d291 to your computer and use it in GitHub Desktop.
Save samueleresca/bf4ac4ec48391b06d291 to your computer and use it in GitHub Desktop.
//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