payload: {"action":"created","issue":{"url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/291","repository_url":"https://api.github.com/repos/istanbuljs/istanbuljs","labels_url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/291/comments","events_url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/291/events","html_url":"https://github.com/istanbuljs/istanbuljs/issues/291","id":409190933,"node_id":"MDU6SXNzdWU0MDkxOTA5MzM=","number":291,"title":"Missing branch coverage in typescript async method","user":{"login":"RoniSegal","id":26412921,"node_id":"MDQ6VXNlcjI2NDEyOTIx","avatar_url":"https://avatars0.githubusercontent.com/u/26412921?v=4","gravatar_id":"","url":"https://api.github.com/users/RoniSegal","html_url":"https://github.com/RoniSegal","followers_url":"https://api.github.com/users/RoniSegal/followers","following_url":"https://api.github.com/users/RoniSegal/following{/other_user}","gists_url":"https://api.github.com/users/RoniSegal/gists{/gist_id}","starred_url":"https://api.github.com/users/RoniSegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoniSegal/subscriptions","organizations_url":"https://api.github.com/users/RoniSegal/orgs","repos_url":"https://api.github.com/users/RoniSegal/repos","events_url":"https://api.github.com/users/RoniSegal/events{/privacy}","received_events_url":"https://api.github.com/users/RoniSegal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-02-12T09:06:59Z","updated_at":"2019-02-20T06:03:52Z","closed_at":null,"author_association":"NONE","body":"I have the bellow method written in typescript and transpiled to es5:\r\n\r\n![image](https://user-images.githubusercontent.com/26412921/52623544-3d111a00-2eb5-11e9-9654-285d7a128233.png).\r\n\r\nThe transpiled code is:\r\n```\r\nSchedulerController.prototype.pollOnce = function () {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            var logger, scheduledEvent, err_1;\r\n            return __generator(this, function (_a) {\r\n                switch (_a.label) {\r\n                    case 0:\r\n                        logger = this.logger.withMethod(\"pollOnce\");\r\n                        _a.label = 1;\r\n                    case 1:\r\n                        _a.trys.push([1, 5, , 6]);\r\n                        return [4 /*yield*/, this.getNextScheduledEvent(logger)];\r\n                    case 2:\r\n                        scheduledEvent = _a.sent();\r\n                        if (!scheduledEvent) return [3 /*break*/, 4];\r\n                        return [4 /*yield*/, this.runJob(scheduledEvent)];\r\n                    case 3:\r\n                        _a.sent();\r\n                        _a.label = 4;\r\n                    case 4: return [3 /*break*/, 6];\r\n                    case 5:\r\n                        err_1 = _a.sent();\r\n                        logger.error(\"Error in iteration\", err_1);\r\n                        return [3 /*break*/, 6];\r\n                    case 6: return [2 /*return*/];\r\n                }\r\n            });\r\n        });\r\n    };\r\n```\r\nThe source map data for\r\n```\r\n if (!scheduledEvent) return [3 /*break*/, 4];\r\n```\r\npoints to line 126\r\n\r\n### Expected Behavior\r\nline 126 should considered as branch\r\n\r\n### Observed Behavior\r\nline 126 considered as statement\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/comments/465437564","html_url":"https://github.com/istanbuljs/istanbuljs/issues/291#issuecomment-465437564","issue_url":"https://api.github.com/repos/istanbuljs/istanbuljs/issues/291","id":465437564,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NTQzNzU2NA==","user":{"login":"RoniSegal","id":26412921,"node_id":"MDQ6VXNlcjI2NDEyOTIx","avatar_url":"https://avatars0.githubusercontent.com/u/26412921?v=4","gravatar_id":"","url":"https://api.github.com/users/RoniSegal","html_url":"https://github.com/RoniSegal","followers_url":"https://api.github.com/users/RoniSegal/followers","following_url":"https://api.github.com/users/RoniSegal/following{/other_user}","gists_url":"https://api.github.com/users/RoniSegal/gists{/gist_id}","starred_url":"https://api.github.com/users/RoniSegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoniSegal/subscriptions","organizations_url":"https://api.github.com/users/RoniSegal/orgs","repos_url":"https://api.github.com/users/RoniSegal/repos","events_url":"https://api.github.com/users/RoniSegal/events{/privacy}","received_events_url":"https://api.github.com/users/RoniSegal/received_events","type":"User","site_admin":false},"created_at":"2019-02-20T06:03:52Z","updated_at":"2019-02-20T06:03:52Z","author_association":"NONE","body":"Any updates on this?"}}
other: {"actor":{"display_login":"RoniSegal"}}