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: docs/example-react-router.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,20 +87,23 @@ test('rendering a component that uses withRouter', () => {
87
87
88
88
## Reducing boilerplate
89
89
90
-
1. You can use the `wrapper` option to wrap a `MemoryRouter` around the component you want to render (`MemoryRouter` works when you don't need access to the history object itself in the test, but just need the components to be able to render and navigate).
90
+
1. You can use the `wrapper` option to wrap a `MemoryRouter` around the
91
+
component you want to render (`MemoryRouter` works when you don't need access
92
+
to the history object itself in the test, but just need the components to be
0 commit comments