{"action":"created","issue":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/93","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/93/comments","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/93/events","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/93","id":107170292,"number":93,"title":"how to provide initialstate in test","user":{"login":"agdolla","id":1113987,"avatar_url":"https://avatars.githubusercontent.com/u/1113987?v=3","gravatar_id":"","url":"https://api.github.com/users/agdolla","html_url":"https://github.com/agdolla","followers_url":"https://api.github.com/users/agdolla/followers","following_url":"https://api.github.com/users/agdolla/following{/other_user}","gists_url":"https://api.github.com/users/agdolla/gists{/gist_id}","starred_url":"https://api.github.com/users/agdolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdolla/subscriptions","organizations_url":"https://api.github.com/users/agdolla/orgs","repos_url":"https://api.github.com/users/agdolla/repos","events_url":"https://api.github.com/users/agdolla/events{/privacy}","received_events_url":"https://api.github.com/users/agdolla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T09:43:29Z","updated_at":"2015-09-21T11:28:37Z","closed_at":null,"body":"Hi\r\nI try to update the example/todo-application to the current master and it works but I can not find out, how to modify the test.\r\nIn beforeEach when component is created with shallowRenderWithProps I try to pass the initialstate but it fails. The strange thing is that HomeView component is initialized with my props but the render method called for the second time with no props so it fails.\r\nAny idea ?\r\n"},"comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments/141946324","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/93#issuecomment-141946324","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/93","id":141946324,"user":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T11:28:37Z","updated_at":"2015-09-21T11:28:37Z","body":"Hm, are you exporting the HomeView component as a dumb component? If you're wanting to test how it renders with certain props you don't want to test the connected component, which is currently the only export: https://github.com/davezuko/react-redux-starter-kit/blob/example/todo-application/client/views/home.jsx"}}