From 50ddc88333bda9b418b728baa92842527e9f2cef Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Tue, 28 Nov 2017 13:32:30 +0900 Subject: [PATCH] Fix comments --- packages/enzyme/src/ShallowWrapper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (