dequelabs / agnostic-axe

Framework agnostic accessibility reporter, powered by axe-core
https://www.npmjs.com/package/agnostic-axe
MIT License
80 stars 6 forks source link

Expose the AuditQueue state #28

Open danil-instacart opened 3 years ago

danil-instacart commented 3 years ago

We're trying to inject agnostic-axe into integration tests that we already have. Quite often, the test finishes, and the page closes before agnostic-axe finishes analyzing the queued things.

Is it possible to expose the _isRunning property of AuditQueue somehow to be able to wait for when it finishes all queued audits?