{"action":"created","issue":{"url":"https://api.github.com/repos/stryker-mutator/stryker/issues/721","repository_url":"https://api.github.com/repos/stryker-mutator/stryker","labels_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/721/comments","events_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/721/events","html_url":"https://github.com/stryker-mutator/stryker/issues/721","id":317554577,"number":721,"title":"Remove conditionals in return ","user":{"login":"Binau","id":6462382,"avatar_url":"https://avatars1.githubusercontent.com/u/6462382?v=4","gravatar_id":"","url":"https://api.github.com/users/Binau","html_url":"https://github.com/Binau","followers_url":"https://api.github.com/users/Binau/followers","following_url":"https://api.github.com/users/Binau/following{/other_user}","gists_url":"https://api.github.com/users/Binau/gists{/gist_id}","starred_url":"https://api.github.com/users/Binau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Binau/subscriptions","organizations_url":"https://api.github.com/users/Binau/orgs","repos_url":"https://api.github.com/users/Binau/repos","events_url":"https://api.github.com/users/Binau/events{/privacy}","received_events_url":"https://api.github.com/users/Binau/received_events","type":"User","site_admin":false},"labels":[{"id":351005440,"url":"https://api.github.com/repos/stryker-mutator/stryker/labels/feature","name":"feature","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-25T09:47:39Z","updated_at":"2018-04-26T07:05:38Z","closed_at":null,"author_association":"NONE","body":"\r\n### Summary\r\nRemove conditionals in return \r\n\r\n### Stryker config\r\n```js\r\nmodule.exports = function (config) {\r\n    config.set({\r\n        testRunner: \"mocha\",\r\n        files: [\r\n            \"tmp/**/*.js\"\r\n        ],\r\n        mutate: [\r\n            \"tmp/src/dep.js\"\r\n        ],\r\n        transpilers: [],\r\n        reporter: [\"clear-text\"],\r\n        coverageAnalysis: \"all\",\r\n        mochaOptions : {\r\n            files : [\r\n                \"tmp/test/*.js\"\r\n            ]\r\n        }\r\n    });\r\n};\r\n```\r\n\r\n### Stryker environment\r\n```\r\n+-- stryker@0.22.4\r\n+-- stryker-api@0.16.1\r\n+-- stryker-mocha-runner: 0.11.2,\r\n```\r\n\r\n### Your Environment\r\n| software         | version(s)\r\n| ---------------- | -------  \r\n| node             | 9.11.1\r\n| npm              | 5.8.0\r\n| Operating System | win10 \r\n\r\n\r\n### Problem\r\nthis code  :\r\n```js\r\nisEnfant(val) {\r\n    return val <= 18;\r\n}\r\n```\r\nis not mutated to :\r\n```js\r\nisEnfant(val) {\r\n    return true;\r\n}\r\n```\r\n\r\nTest mocha (i test only val=5) :\r\n```js\r\ndescribe('TEST ', () => {\r\n    it('test', () => {\r\n        assert.ok(isEnfant(5));\r\n    }));\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/stryker-mutator/stryker/issues/comments/384535634","html_url":"https://github.com/stryker-mutator/stryker/issues/721#issuecomment-384535634","issue_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/721","id":384535634,"user":{"login":"simondel","id":4221997,"avatar_url":"https://avatars3.githubusercontent.com/u/4221997?v=4","gravatar_id":"","url":"https://api.github.com/users/simondel","html_url":"https://github.com/simondel","followers_url":"https://api.github.com/users/simondel/followers","following_url":"https://api.github.com/users/simondel/following{/other_user}","gists_url":"https://api.github.com/users/simondel/gists{/gist_id}","starred_url":"https://api.github.com/users/simondel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simondel/subscriptions","organizations_url":"https://api.github.com/users/simondel/orgs","repos_url":"https://api.github.com/users/simondel/repos","events_url":"https://api.github.com/users/simondel/events{/privacy}","received_events_url":"https://api.github.com/users/simondel/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T07:05:38Z","updated_at":"2018-04-26T07:05:38Z","author_association":"OWNER","body":"Exactly. With this change we can also start doing that."}}
{"actor":{"display_login":"simondel"}}