UNPKG

nemo-accessibility

Version:

nemo-accessibility is a nemo plugin aimed to run accessibility scans during nemo tests. nemo-accessibility plugin uses axe-core, htmlcode smiffer and chrome engines to run accessibility scans on a given page or on a given element on a page.

33 lines (30 loc) 704 B
"use strict"; module.exports = function(grunt) { grunt.initConfig({ simplemocha: { options: { globals: ['should'], timeout: 30000, ignoreLeaks: false, grep: '', ui: 'bdd', reporter: 'spec' }, all: { src: ['test/*.js'] } }, jshint: { files: ['index.js','Gruntfile.js'], options: { jshintrc: true } } }); // For this to work, you need to have run `npm install grunt-simple-mocha` grunt.loadNpmTasks('grunt-simple-mocha'); grunt.loadNpmTasks('grunt-contrib-jshint'); // Add a default task. This is optional, of course :) grunt.registerTask('default', ['simplemocha', 'jshint']); // Add a default task. This is optional, of course :) };