-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the 3rd (and last) comparison test to take into account the c…
…omponentWillReceiveProps optimisation introduced before - since shallowEqual props don't call mapPropsToRequestsToProps again, testing comparison requires props to change such that they are shallow different but deep equal - also removed the `// TODO: no need to re-render here` comments in these 3 tests because now that they change props such that they are shallowly different the component should in fact re-render
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters