{"action":"created","issue":{"url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/1","labels_url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/1/comments","events_url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/1/events","html_url":"https://github.com/arnaudbenard/redux-mock-store/issues/1","id":114129781,"number":1,"title":"store.subscribe","user":{"login":"zebapy","id":2199845,"avatar_url":"https://avatars.githubusercontent.com/u/2199845?v=3","gravatar_id":"","url":"https://api.github.com/users/zebapy","html_url":"https://github.com/zebapy","followers_url":"https://api.github.com/users/zebapy/followers","following_url":"https://api.github.com/users/zebapy/following{/other_user}","gists_url":"https://api.github.com/users/zebapy/gists{/gist_id}","starred_url":"https://api.github.com/users/zebapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebapy/subscriptions","organizations_url":"https://api.github.com/users/zebapy/orgs","repos_url":"https://api.github.com/users/zebapy/repos","events_url":"https://api.github.com/users/zebapy/events{/privacy}","received_events_url":"https://api.github.com/users/zebapy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-29T19:37:07Z","updated_at":"2015-11-02T09:18:41Z","closed_at":"2015-10-31T13:13:19Z","body":"Would it be helpful to add store.subscribe method? \r\n\r\nI'm just getting started learning how to test react, so I'm not sure what it'd look like. I may be understanding this as intended to use for a completely different purpose than I'm trying to test. \r\n\r\nI'm trying to do this:\r\n\r\n```\r\n// I have a shallowRender helper util\r\nconst component = shallowRender(\r\n        <Provider store={store}>\r\n          <ConnectedCounterContainer />\r\n        </Provider>\r\n      )\r\n```\r\n\r\nso I can simply test to see if the component received the prop `count: 0` \r\n\r\nbut I get:\r\n\r\n\r\n```\r\nWarning: Failed Context Types: Required child context `store.subscribe` was not specified in `Provider`.\r\n``` \r\n\r\nso I'm assuming it wants a `store.subscribe()` method on the mocked store. "},"comment":{"url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/comments/152964529","html_url":"https://github.com/arnaudbenard/redux-mock-store/issues/1#issuecomment-152964529","issue_url":"https://api.github.com/repos/arnaudbenard/redux-mock-store/issues/1","id":152964529,"user":{"login":"arnaudbenard","id":1458008,"avatar_url":"https://avatars.githubusercontent.com/u/1458008?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaudbenard","html_url":"https://github.com/arnaudbenard","followers_url":"https://api.github.com/users/arnaudbenard/followers","following_url":"https://api.github.com/users/arnaudbenard/following{/other_user}","gists_url":"https://api.github.com/users/arnaudbenard/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaudbenard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaudbenard/subscriptions","organizations_url":"https://api.github.com/users/arnaudbenard/orgs","repos_url":"https://api.github.com/users/arnaudbenard/repos","events_url":"https://api.github.com/users/arnaudbenard/events{/privacy}","received_events_url":"https://api.github.com/users/arnaudbenard/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T09:18:41Z","updated_at":"2015-11-02T09:18:41Z","body":"@gaearon Thank you for the explanation. I will put a better description in the readme, it will help the next developer :)"}}