{"action":"opened","issue":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/2082","repository_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard","labels_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/2082/comments","events_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/2082/events","html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/2082","id":368894900,"node_id":"MDU6SXNzdWUzNjg4OTQ5MDA=","number":2082,"title":"Write tests for Redux reducers that cover all action types and ensure that state is not mutated","user":{"login":"ragesoss","id":848483,"node_id":"MDQ6VXNlcjg0ODQ4Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/848483?v=4","gravatar_id":"","url":"https://api.github.com/users/ragesoss","html_url":"https://github.com/ragesoss","followers_url":"https://api.github.com/users/ragesoss/followers","following_url":"https://api.github.com/users/ragesoss/following{/other_user}","gists_url":"https://api.github.com/users/ragesoss/gists{/gist_id}","starred_url":"https://api.github.com/users/ragesoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragesoss/subscriptions","organizations_url":"https://api.github.com/users/ragesoss/orgs","repos_url":"https://api.github.com/users/ragesoss/repos","events_url":"https://api.github.com/users/ragesoss/events{/privacy}","received_events_url":"https://api.github.com/users/ragesoss/received_events","type":"User","site_admin":false},"labels":[{"id":1060031670,"node_id":"MDU6TGFiZWwxMDYwMDMxNjcw","url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/GCI-2018","name":"GCI-2018","color":"f4d238","default":false},{"id":544847856,"node_id":"MDU6TGFiZWw1NDQ4NDc4NTY=","url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/React","name":"React","color":"61dafb","default":false},{"id":246284548,"node_id":"MDU6TGFiZWwyNDYyODQ1NDg=","url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/code%20quality","name":"code quality","color":"009800","default":false},{"id":717136772,"node_id":"MDU6TGFiZWw3MTcxMzY3NzI=","url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/good%20first%20issue","name":"good first issue","color":"e99695","default":true},{"id":341446267,"node_id":"MDU6TGFiZWwzNDE0NDYyNjc=","url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/newcomer%20friendly","name":"newcomer friendly","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-10T23:32:59Z","updated_at":"2018-10-10T23:32:59Z","closed_at":null,"author_association":"MEMBER","body":"The reducers that make up the main Redux reducer should all be pure functions that are free of side effects and do not mutate their inputs. This makes unit tests particularly easy to implement, but important for making sure we avoid state-mutation bugs.\r\n\r\nThe handful of existing specs in `test/reducers` offer clear examples for how individual actions can be tested for these reducers, with `deepFreeze` being called on the initial state to guarantee that nothing in the reducer is mutating it.\r\n\r\nChoose one or more reducers, and add tests for the functionality of each action type supported by that reducer. This should be done one reducer per commit. If you're working on this, please post a comment to say which reducer you're working on, so that others can work on different reducers.\r\n\r\nIdeally, the set of tests for each reducer will provide 100% coverage of that reducer. You can check the coverage by running `jest` and then opening `coverage/lcov-report/index.html`, which includes coverages maps of each javascript file."}}
{"actor":{"display_login":"ragesoss"}}