{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/463","repository_url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib","labels_url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/463/comments","events_url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/463/events","html_url":"https://github.com/Microsoft/azure-pipelines-task-lib/pull/463","id":372681231,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0ODAwMTQ4","number":463,"title":"Mock getInputs","user":{"login":"damccorm","id":42773683,"node_id":"MDQ6VXNlcjQyNzczNjgz","avatar_url":"https://avatars2.githubusercontent.com/u/42773683?v=4","gravatar_id":"","url":"https://api.github.com/users/damccorm","html_url":"https://github.com/damccorm","followers_url":"https://api.github.com/users/damccorm/followers","following_url":"https://api.github.com/users/damccorm/following{/other_user}","gists_url":"https://api.github.com/users/damccorm/gists{/gist_id}","starred_url":"https://api.github.com/users/damccorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damccorm/subscriptions","organizations_url":"https://api.github.com/users/damccorm/orgs","repos_url":"https://api.github.com/users/damccorm/repos","events_url":"https://api.github.com/users/damccorm/events{/privacy}","received_events_url":"https://api.github.com/users/damccorm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-22T20:15:49Z","updated_at":"2018-11-20T14:23:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/pulls/463","html_url":"https://github.com/Microsoft/azure-pipelines-task-lib/pull/463","diff_url":"https://github.com/Microsoft/azure-pipelines-task-lib/pull/463.diff","patch_url":"https://github.com/Microsoft/azure-pipelines-task-lib/pull/463.patch"},"body":"Currently, the mock of getInputs fails if the base directory is changed since setInputs doesn't adjust for this and getInputs is not mocked. This PR mocks getInputs.\r\n\r\nFixes #372 "},"comment":{"url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/comments/440290337","html_url":"https://github.com/Microsoft/azure-pipelines-task-lib/pull/463#issuecomment-440290337","issue_url":"https://api.github.com/repos/Microsoft/azure-pipelines-task-lib/issues/463","id":440290337,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI5MDMzNw==","user":{"login":"brcrista","id":33549821,"node_id":"MDQ6VXNlcjMzNTQ5ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/33549821?v=4","gravatar_id":"","url":"https://api.github.com/users/brcrista","html_url":"https://github.com/brcrista","followers_url":"https://api.github.com/users/brcrista/followers","following_url":"https://api.github.com/users/brcrista/following{/other_user}","gists_url":"https://api.github.com/users/brcrista/gists{/gist_id}","starred_url":"https://api.github.com/users/brcrista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brcrista/subscriptions","organizations_url":"https://api.github.com/users/brcrista/orgs","repos_url":"https://api.github.com/users/brcrista/repos","events_url":"https://api.github.com/users/brcrista/events{/privacy}","received_events_url":"https://api.github.com/users/brcrista/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T14:23:15Z","updated_at":"2018-11-20T14:23:15Z","author_association":"CONTRIBUTOR","body":"I have a change planned that will let `setAnswers` mock arbitrary task lib functions.  I ran it past @bryanmacfarlane , @ericsciple , and @stephenmichaelf a few months ago.  Haven't scheduled time for it yet though"}}
{"actor":{"display_login":"brcrista"}}