Skip to content

Commit

Permalink
fix: update automatic.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
navateja-alagam authored Jul 15, 2024
1 parent e78aee8 commit 51a9bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest/src/automatic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function automaticCheck(opts: AutoCheckOpts = defaultAutoCheckOpts)
// Create a DOM walker filtering only elements (skipping text, comment nodes etc)
const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);
let currNode = walker.firstChild();
const customRules = []; // useCustomRules();
const customRules = [] as string[]; // useCustomRules();
try {
if (!opts.runDOMMutationObserver) {
while (currNode !== null) {
Expand Down

0 comments on commit 51a9bf0

Please sign in to comment.