Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[Fix] mount: update after simulateError
  • Loading branch information
jgzuke authored and ljharb committed Sep 8, 2018
commit 54cb6a6198cf4d929a21ef43ad90cb380bcf6317
1 change: 1 addition & 0 deletions packages/enzyme/src/ReactWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ class ReactWrapper {
const nodeHierarchy = [thisNode].concat(nodeParents(this, thisNode));
renderer.simulateError(nodeHierarchy, rootNode, error);

this[ROOT].update();
return this;
});
}
Expand Down