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 Jun 12, 2024
1 parent 5bb81c6 commit f76314d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest/src/automatic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export async function automaticCheck(opts: AutoCheckOpts = defaultAutoCheckOpts)
for await (const mutatedNode of mutatedNodes) {
if (mutatedNode) {
document.body.innerHTML = mutatedNode;
// remove walker
// const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);
// let currNode = walker.firstChild();
// while (currNode !== null) {
Expand Down

0 comments on commit f76314d

Please sign in to comment.