Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Mar 30, 2018
1 parent b080c20 commit 3404c69
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 @@ -259,7 +259,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 @@ -342,7 +342,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 3404c69

Please sign in to comment.