Skip to content

Commit 3404c69

Browse files
committed
Fix comments
1 parent b080c20 commit 3404c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/enzyme/src/ShallowWrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class ShallowWrapper {
259259
}
260260
this[RENDERER].batchedUpdates(() => {
261261
// When shouldComponentUpdate returns false we shouldn't call componentDidUpdate.
262-
// so we spy shouldComponentUpdate to know the result.
262+
// so we spy shouldComponentUpdate to get the result.
263263
let shouldRender = true;
264264
let spy;
265265
if (
@@ -342,7 +342,7 @@ class ShallowWrapper {
342342
const prevState = instance.state;
343343
const prevContext = instance.context;
344344
// When shouldComponentUpdate returns false we shouldn't call componentDidUpdate.
345-
// so we spy shouldComponentUpdate to know the result.
345+
// so we spy shouldComponentUpdate to get the result.
346346
let spy;
347347
let shouldRender = true;
348348
if (

0 commit comments

Comments
 (0)