{"action":"closed","issue":{"url":"https://api.github.com/repos/rackt/redux/issues/1183","labels_url":"https://api.github.com/repos/rackt/redux/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/rackt/redux/issues/1183/comments","events_url":"https://api.github.com/repos/rackt/redux/issues/1183/events","html_url":"https://github.com/rackt/redux/issues/1183","id":123993269,"number":1183,"title":"Documentation - recipe for resetting state between tests","user":{"login":"oveddan","id":891755,"avatar_url":"https://avatars.githubusercontent.com/u/891755?v=3","gravatar_id":"","url":"https://api.github.com/users/oveddan","html_url":"https://github.com/oveddan","followers_url":"https://api.github.com/users/oveddan/followers","following_url":"https://api.github.com/users/oveddan/following{/other_user}","gists_url":"https://api.github.com/users/oveddan/gists{/gist_id}","starred_url":"https://api.github.com/users/oveddan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oveddan/subscriptions","organizations_url":"https://api.github.com/users/oveddan/orgs","repos_url":"https://api.github.com/users/oveddan/repos","events_url":"https://api.github.com/users/oveddan/events{/privacy}","received_events_url":"https://api.github.com/users/oveddan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-27T19:25:31Z","updated_at":"2015-12-29T01:01:01Z","closed_at":"2015-12-29T01:01:01Z","body":"Add a recipe in Writing Tests that shows how to reset the state of the store between each test.  This is often desired when you don't want to have the results of one test affecting another.\r\n\r\nThe way to easily do this is to have the store created in each test by invoking the reducer action without a previous state (but this is not clearly documented)."}}