Martín Comito
Martín Comito
The js file returns a string: ``` return ` --timeout=${axeconfig.timeout} --save ${axeconfig.fileName} ${ axeconfig.tags.length ? `--tags ${axeconfig.tags}` : '' }`; ``` (axeconfig is a json file that holds the parameters)...
```javascript // axe/index.js: console.log( ` http://localhost:3000 --timeout=${axeconfig.timeout} --save ${ axeconfig.fileName } ${axeconfig.tags.length ? `--tags ${axeconfig.tags}` : ''}` ); ``` ```javascript // package.json: "accessibility:test": "axe $(node axe/index.js)" ``` ``` Running axe-core...