We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6748c commit a8038a0Copy full SHA for a8038a0
Gruntfile.js
@@ -1,11 +1,10 @@
1
module.exports = function( grunt ) {
2
- grunt.loadNpmTasks("axe-grunt-webdriver");
3
- var path = require( "path" );
4
- require( "load-grunt-config" )( grunt, {
5
- configPath: [
6
- path.join( process.cwd(), "tasks/options" ),
7
- path.join( process.cwd(), "tasks" )
8
- ],
9
- init: true
10
- } );
+var path = require( "path" );
+require( "load-grunt-config" )( grunt, {
+ configPath: [
+ path.join( process.cwd(), "tasks/options" ),
+ path.join( process.cwd(), "tasks" )
+ ],
+ init: true
+} );
11
};
tasks/options/axe-webdriver.js
@@ -1,4 +1,6 @@
-module.exports = {
+module.exports = function( grunt ) {
+grunt.loadNpmTasks("axe-grunt-webdriver");
+return {
firefox: {
options: {
threshold: 0
@@ -7,3 +9,4 @@ module.exports = {
dest: 'tmp/gu.json'
}
12
+};
0 commit comments