diff --git a/packages/enzyme/src/ShallowWrapper.js b/packages/enzyme/src/ShallowWrapper.js index 9b72f2f44..53fb6f659 100644 --- a/packages/enzyme/src/ShallowWrapper.js +++ b/packages/enzyme/src/ShallowWrapper.js @@ -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 ( @@ -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 (