Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(axe.run): allow returning a Promise in jsdom (#943)
This patch enables `axe.run()` to return a Promise when `window.Promise` is not defined, but there is a Promise implementation in the global scope. This, while very edge-casey, enables me to run axe in a node process by only importing [`jsdom-global/register`](https://github.com/rstacruz/jsdom-global).
- Loading branch information