UNPKG

nemo-view

Version:

selenium-webdriver abstractions and locator organization plugin for nemo

34 lines (31 loc) 649 B
/* global require,module */ 'use strict'; var nconf = require('nconf'); module.exports = function(grunt) { nconf.env() .argv(); grunt.initConfig({ simplemocha: { options: { globals: ['should'], timeout: 30000, ignoreLeaks: false, grep: grunt.option('grep') || 0, ui: 'bdd', reporter: 'spec' }, all: { src: ['test/*.js'] } }, jshint: { files: ['index.js', 'Gruntfile.js', 'lib/*.js', 'test/*.js'], options: { jshintrc: true } } }); grunt.loadNpmTasks('grunt-simple-mocha'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.registerTask('default', ['simplemocha', 'jshint']); };