axe-core
axe-core copied to clipboard
test: improve heading-matches test cases
- In the beforeEach, it's fetching the empty-heading rule using axe.utils.getRule('empty-heading'). Ensure that this rule actually includes the matches function. If not, the first test (assert.isFunction(rule.matches)) will fail.
- some test case descriptions are misleading so it clarifies that