{"action":"created","issue":{"url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/679","repository_url":"https://api.github.com/repos/kulshekhar/ts-jest","labels_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/679/comments","events_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/679/events","html_url":"https://github.com/kulshekhar/ts-jest/pull/679","id":350529803,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MzU5NDIx","number":679,"title":" Make diagnostics only on test files","user":{"login":"lyy011lyy","id":3343497,"node_id":"MDQ6VXNlcjMzNDM0OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3343497?v=4","gravatar_id":"","url":"https://api.github.com/users/lyy011lyy","html_url":"https://github.com/lyy011lyy","followers_url":"https://api.github.com/users/lyy011lyy/followers","following_url":"https://api.github.com/users/lyy011lyy/following{/other_user}","gists_url":"https://api.github.com/users/lyy011lyy/gists{/gist_id}","starred_url":"https://api.github.com/users/lyy011lyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyy011lyy/subscriptions","organizations_url":"https://api.github.com/users/lyy011lyy/orgs","repos_url":"https://api.github.com/users/lyy011lyy/repos","events_url":"https://api.github.com/users/lyy011lyy/events{/privacy}","received_events_url":"https://api.github.com/users/lyy011lyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-08-14T17:45:53Z","updated_at":"2018-08-20T04:36:03Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kulshekhar/ts-jest/pulls/679","html_url":"https://github.com/kulshekhar/ts-jest/pull/679","diff_url":"https://github.com/kulshekhar/ts-jest/pull/679.diff","patch_url":"https://github.com/kulshekhar/ts-jest/pull/679.patch"},"body":"Currently, ts-jest is checking the type errors for source codes and all\r\ntheir dependencies if \"enableTsDiagnostics\" is turned ON. This makes\r\nit very slow and I don't think that's what we want since the src code\r\ntype errors will be detected during the build time.\r\n\r\nWhat we need should be a way to report the type errors only inside the\r\ntest files, because usually test code will be excluded when build.\r\n\r\nAdd logic to check whether the filePath is inside one of the\r\nroot's pathes to achieve that only check the type errors inside test\r\ncode."},"comment":{"url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/comments/414194992","html_url":"https://github.com/kulshekhar/ts-jest/pull/679#issuecomment-414194992","issue_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/679","id":414194992,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDE5NDk5Mg==","user":{"login":"huafu","id":1162602,"node_id":"MDQ6VXNlcjExNjI2MDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1162602?v=4","gravatar_id":"","url":"https://api.github.com/users/huafu","html_url":"https://github.com/huafu","followers_url":"https://api.github.com/users/huafu/followers","following_url":"https://api.github.com/users/huafu/following{/other_user}","gists_url":"https://api.github.com/users/huafu/gists{/gist_id}","starred_url":"https://api.github.com/users/huafu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huafu/subscriptions","organizations_url":"https://api.github.com/users/huafu/orgs","repos_url":"https://api.github.com/users/huafu/repos","events_url":"https://api.github.com/users/huafu/events{/privacy}","received_events_url":"https://api.github.com/users/huafu/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T04:36:03Z","updated_at":"2018-08-20T04:36:03Z","author_association":"COLLABORATOR","body":"fixes #678 "}}
{"actor":{"display_login":"huafu"}}