{"action":"opened","issue":{"url":"https://api.github.com/repos/FormidableLabs/redux-little-router/issues/283","repository_url":"https://api.github.com/repos/FormidableLabs/redux-little-router","labels_url":"https://api.github.com/repos/FormidableLabs/redux-little-router/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/redux-little-router/issues/283/comments","events_url":"https://api.github.com/repos/FormidableLabs/redux-little-router/issues/283/events","html_url":"https://github.com/FormidableLabs/redux-little-router/issues/283","id":312156712,"number":283,"title":"How to test (context troubles)","user":{"login":"granmoe","id":5620706,"avatar_url":"https://avatars2.githubusercontent.com/u/5620706?v=4","gravatar_id":"","url":"https://api.github.com/users/granmoe","html_url":"https://github.com/granmoe","followers_url":"https://api.github.com/users/granmoe/followers","following_url":"https://api.github.com/users/granmoe/following{/other_user}","gists_url":"https://api.github.com/users/granmoe/gists{/gist_id}","starred_url":"https://api.github.com/users/granmoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granmoe/subscriptions","organizations_url":"https://api.github.com/users/granmoe/orgs","repos_url":"https://api.github.com/users/granmoe/repos","events_url":"https://api.github.com/users/granmoe/events{/privacy}","received_events_url":"https://api.github.com/users/granmoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-07T00:49:04Z","updated_at":"2018-04-07T00:49:04Z","closed_at":null,"author_association":"NONE","body":"It seems that it isn't possible to get the component tree to update with the route when simulating clicking `<Link>` in tests. I suspect this is due to missing context. I saw that there used to be a `<RouterProvider>` context component and then there was a `provideRouter` function. Is there a way to provide the appropriate context to the component tree in tests, akin to wrapping the component to be tested in a `<Provider>` component of some kind so that the component tree updates when the route changes?"}}
{"actor":{"display_login":"granmoe"}}