Skip to content

Commit

Permalink
use Array instead NodeList
Browse files Browse the repository at this point in the history
  • Loading branch information
straker committed Jan 10, 2022
1 parent 0373475 commit 26e1543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/axe-core/axe-core-tests.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as axe from '../../axe';

var context: any = document;
var $fixture = document.querySelectorAll('div');
var $fixture = [document];
var options = { iframes: false, selectors: false, elementRef: false };

axe.run(context, {}, (error: Error, results: axe.AxeResults) => {
Expand Down

0 comments on commit 26e1543

Please sign in to comment.