Skip to content

Commit

Permalink
Build: add accessibility testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanb committed Aug 4, 2015
1 parent 7d6748c commit a8038a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
17 changes: 8 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
module.exports = function( grunt ) {
grunt.loadNpmTasks("axe-grunt-webdriver");
var path = require( "path" );
require( "load-grunt-config" )( grunt, {
configPath: [
path.join( process.cwd(), "tasks/options" ),
path.join( process.cwd(), "tasks" )
],
init: true
} );
var path = require( "path" );
require( "load-grunt-config" )( grunt, {
configPath: [
path.join( process.cwd(), "tasks/options" ),
path.join( process.cwd(), "tasks" )
],
init: true
} );
};
5 changes: 4 additions & 1 deletion tasks/options/axe-webdriver.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module.exports = {
module.exports = function( grunt ) {
grunt.loadNpmTasks("axe-grunt-webdriver");
return {
firefox: {
options: {
threshold: 0
Expand All @@ -7,3 +9,4 @@ module.exports = {
dest: 'tmp/gu.json'
}
};
};

0 comments on commit a8038a0

Please sign in to comment.