This PR adds a processCallback option that can be passed in when calling lib/a11ym.js programmatically. This allows for the runner to call the callback when the testing process ends, either naturally or via ctrl+c/SIGINT.
This change is needed to support running TheA11yMachine as a Grunt task: https://gruntjs.com/creating-tasks. Once this gets merged, I could build a Grunt plugin to run TheA11yMachine.
This PR adds a
processCallback
option that can be passed in when callinglib/a11ym.js
programmatically. This allows for the runner to call the callback when the testing process ends, either naturally or viactrl+c
/SIGINT
.This change is needed to support running
TheA11yMachine
as aGrunt
task: https://gruntjs.com/creating-tasks. Once this gets merged, I could build a Grunt plugin to runTheA11yMachine
.