axe-core icon indicating copy to clipboard operation
axe-core copied to clipboard

test: improve heading-matches test cases

Open HuanWuCode opened this issue 1 year ago • 0 comments

  • 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

HuanWuCode avatar Sep 25 '24 01:09 HuanWuCode