Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Nov 28, 2017
1 parent 127ac0a commit 8a2eae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/enzyme/src/ShallowWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class ShallowWrapper {
}
this[RENDERER].batchedUpdates(() => {
// When shouldComponentUpdate returns false we shouldn't call componentDidUpdate.
// so we spy shouldComponentUpdate to know the result.
// so we spy shouldComponentUpdate to get the result.
let shouldRender = true;
let spy;
if (
Expand Down Expand Up @@ -344,7 +344,7 @@ class ShallowWrapper {
const prevState = instance.state;
const prevContext = instance.context;
// When shouldComponentUpdate returns false we shouldn't call componentDidUpdate.
// so we spy shouldComponentUpdate to know the result.
// so we spy shouldComponentUpdate to get the result.
let spy;
let shouldRender = true;
if (
Expand Down

0 comments on commit 8a2eae7

Please sign in to comment.