You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ A helper for mocking react router v4 context and childContextTypes when testing
3
3
4
4
This package uses React-Router's history module to mock the history. Specifically, we use their memoryHistory module which was designed for use in testing environments.
5
5
6
-
It creates a context option and a contextChildTypes option that can be used by Enzyme's mount() and shallow() API's.
6
+
It creates a context option and a contextChildTypes option that can be used by Enzyme's mount() and shallow() API's to ensure that all descendants of the component being tested have the correct react-router context.
0 commit comments