File: Gruntfile.js

Recommend this page to a friend!
  Classes of Igor Escobar   Automated Screenshot Diff   Gruntfile.js   Download  
File: Gruntfile.js
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Automated Screenshot Diff
Capture and compare page screenshots
Author: By
Last change: Update of Gruntfile.js
Date: 2 years ago
Size: 498 bytes
 

Contents

Class file image Download
module.exports = function(grunt) { grunt.loadNpmTasks('grunt-mocha-test'); grunt.initConfig({ mochaTest: { test: { options: { reporter: 'spec', require: 'coverage/blanket' }, src: ['test/**/*.js'] }, coverage: { options: { reporter: 'html-cov', quiet: true }, src: ['test/**/*.js'], dest: 'coverage.html' } } }); grunt.registerTask('default', 'mochaTest'); };