You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems command is ignoring .accessibilityrc, doesn't matter if it's in the same dir or at $HOME. Also tried the tip defined here, but doesn't really "solve" this issue. Also, getting TypeError: accessSniff.start is not a function with that script.
➜ air (master) sniff http://airdev.test -r txt
Starting Accessibility tests
Testing http://airdev.test
Testing http://airdev.test failed
JsDom Cannot render urls, please set the browser option to true
Unhandled rejection JsDom Cannot render urls, please set the browser option to true
➜ air (master) cat .accessibilityrc
options: {
browser: true
}
Any tips?
The text was updated successfully, but these errors were encountered:
OK so I debugged this and found out the CLI script was not checking for .accessibilityrc
Here's a patch:
In access-sniff/dist/cli/index.js, add these lines at the top:
var _rc = require('rc'); var _rc2 = _interopRequireDefault(_rc);
then, before new _app2.default(options), add this: (0, _rc2.default)('accessibility', options);
I tested with a .accessibilityrc file in my user folder on Windows, containing this: { "browser": true, "reportLocation": "reports" }
It seems command is ignoring
.accessibilityrc
, doesn't matter if it's in the same dir or at $HOME. Also tried the tip defined here, but doesn't really "solve" this issue. Also, gettingTypeError: accessSniff.start is not a function
with that script.Any tips?
The text was updated successfully, but these errors were encountered: