Skip to content

Commit 86b77bc

Browse files
jgzukeljharb
authored andcommitted
update after simulatError
1 parent 3113da3 commit 86b77bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/enzyme/src/ReactWrapper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ class ReactWrapper {
643643
const nodeHierarchy = [thisNode].concat(nodeParents(this, thisNode));
644644
renderer.simulateError(nodeHierarchy, rootNode, error);
645645

646+
this[ROOT].update();
646647
return this;
647648
});
648649
}

0 commit comments

Comments
 (0)