diff --git a/packages/enzyme/src/ShallowWrapper.js b/packages/enzyme/src/ShallowWrapper.js index 93f97d777..219418a19 100644 --- a/packages/enzyme/src/ShallowWrapper.js +++ b/packages/enzyme/src/ShallowWrapper.js @@ -269,7 +269,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 ( @@ -370,7 +370,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 (