{"action":"created","issue":{"url":"https://api.github.com/repos/mockk/mockk/issues/153","repository_url":"https://api.github.com/repos/mockk/mockk","labels_url":"https://api.github.com/repos/mockk/mockk/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/mockk/mockk/issues/153/comments","events_url":"https://api.github.com/repos/mockk/mockk/issues/153/events","html_url":"https://github.com/mockk/mockk/issues/153","id":368282607,"node_id":"MDU6SXNzdWUzNjgyODI2MDc=","number":153,"title":"Feature Request: clear recorded calls on all mocks","user":{"login":"michaelom","id":4853579,"node_id":"MDQ6VXNlcjQ4NTM1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4853579?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelom","html_url":"https://github.com/michaelom","followers_url":"https://api.github.com/users/michaelom/followers","following_url":"https://api.github.com/users/michaelom/following{/other_user}","gists_url":"https://api.github.com/users/michaelom/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelom/subscriptions","organizations_url":"https://api.github.com/users/michaelom/orgs","repos_url":"https://api.github.com/users/michaelom/repos","events_url":"https://api.github.com/users/michaelom/events{/privacy}","received_events_url":"https://api.github.com/users/michaelom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T15:58:10Z","updated_at":"2018-11-03T13:15:07Z","closed_at":null,"author_association":"NONE","body":"- [x ] I am running the latest version\r\n- [x ] I checked the documentation and found no answer\r\n- [x ] I checked to make sure that this issue has not already been filed\r\n\r\nThe current API comes with a handy function to unstub all mocks: `unmockkAll()`\r\nUnfortunately there is no way to clear recorded calls in a similar fashion.\r\n\r\n`clearMocks(...)` requires the mock to be passed as an argument. When the mock object is not in scope (e.g. test lifecycle listener) there is currently no way to clear recorded calls.\r\n\r\nI am aware this functionality is rarely required. So is `unmockAll()` :-)"},"comment":{"url":"https://api.github.com/repos/mockk/mockk/issues/comments/435587125","html_url":"https://github.com/mockk/mockk/issues/153#issuecomment-435587125","issue_url":"https://api.github.com/repos/mockk/mockk/issues/153","id":435587125,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU4NzEyNQ==","user":{"login":"oleksiyp","id":5249932,"node_id":"MDQ6VXNlcjUyNDk5MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/5249932?v=4","gravatar_id":"","url":"https://api.github.com/users/oleksiyp","html_url":"https://github.com/oleksiyp","followers_url":"https://api.github.com/users/oleksiyp/followers","following_url":"https://api.github.com/users/oleksiyp/following{/other_user}","gists_url":"https://api.github.com/users/oleksiyp/gists{/gist_id}","starred_url":"https://api.github.com/users/oleksiyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleksiyp/subscriptions","organizations_url":"https://api.github.com/users/oleksiyp/orgs","repos_url":"https://api.github.com/users/oleksiyp/repos","events_url":"https://api.github.com/users/oleksiyp/events{/privacy}","received_events_url":"https://api.github.com/users/oleksiyp/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T13:15:07Z","updated_at":"2018-11-03T13:15:07Z","author_association":"COLLABORATOR","body":"Finally I am doing implementation lifecycle and going to take this one"}}
{"actor":{"display_login":"oleksiyp"}}