{"action":"created","issue":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/1385","repository_url":"https://api.github.com/repos/sinonjs/sinon","labels_url":"https://api.github.com/repos/sinonjs/sinon/issues/1385/labels{/name}","comments_url":"https://api.github.com/repos/sinonjs/sinon/issues/1385/comments","events_url":"https://api.github.com/repos/sinonjs/sinon/issues/1385/events","html_url":"https://github.com/sinonjs/sinon/issues/1385","id":224434303,"number":1385,"title":"callCount nor called are not registered on a stub","user":{"login":"keligijus","id":6559757,"avatar_url":"https://avatars2.githubusercontent.com/u/6559757?v=3","gravatar_id":"","url":"https://api.github.com/users/keligijus","html_url":"https://github.com/keligijus","followers_url":"https://api.github.com/users/keligijus/followers","following_url":"https://api.github.com/users/keligijus/following{/other_user}","gists_url":"https://api.github.com/users/keligijus/gists{/gist_id}","starred_url":"https://api.github.com/users/keligijus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keligijus/subscriptions","organizations_url":"https://api.github.com/users/keligijus/orgs","repos_url":"https://api.github.com/users/keligijus/repos","events_url":"https://api.github.com/users/keligijus/events{/privacy}","received_events_url":"https://api.github.com/users/keligijus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-04-26T11:25:00Z","updated_at":"2017-04-27T06:50:09Z","closed_at":"2017-04-26T13:37:27Z","body":"* Sinon version : 2.1.0\r\n* Environment   : Mac\r\n* Example URL   : https://github.com/keligijus/vue-stub-demo/\r\n* Other libraries you are using: 'mocha', 'sinon-chai', 'chai-lodash'\r\n\r\n**What did you expect to happen?**\r\n\r\nGet correct callCount of a stub (or correct .called boolean)\r\n\r\n**What actually happens**\r\n\r\nOnly get a correct callCount of the first call of it. Count (or the fact that it's called) of other calls seems to not registered\r\n\r\n**How to reproduce**\r\n\r\nPlease use the repo I created for this https://github.com/keligijus/vue-stub-demo/\r\n\r\n`npm install` and `npm run unit` should do the trick.\r\n\r\nSorry for no JSBin or similar, I'm not sure how to replicate my set up there.\r\n\r\np.s. I am still confused if a stub has properties of a spy. From other tests I can see that whatever is available for a spy, is also available for a stub.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/comments/297627318","html_url":"https://github.com/sinonjs/sinon/issues/1385#issuecomment-297627318","issue_url":"https://api.github.com/repos/sinonjs/sinon/issues/1385","id":297627318,"user":{"login":"mantoni","id":332271,"avatar_url":"https://avatars2.githubusercontent.com/u/332271?v=3","gravatar_id":"","url":"https://api.github.com/users/mantoni","html_url":"https://github.com/mantoni","followers_url":"https://api.github.com/users/mantoni/followers","following_url":"https://api.github.com/users/mantoni/following{/other_user}","gists_url":"https://api.github.com/users/mantoni/gists{/gist_id}","starred_url":"https://api.github.com/users/mantoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantoni/subscriptions","organizations_url":"https://api.github.com/users/mantoni/orgs","repos_url":"https://api.github.com/users/mantoni/repos","events_url":"https://api.github.com/users/mantoni/events{/privacy}","received_events_url":"https://api.github.com/users/mantoni/received_events","type":"User","site_admin":false},"created_at":"2017-04-27T06:50:09Z","updated_at":"2017-04-27T06:50:09Z","body":"@keligijus I consider it very unlikely that this core part of Sinon has a critical bug like this. I'm happy to reopen this issue if you can extract a simple reproducible case that is free of side effects from other libraries. Otherwise, I don't think any of the maintainers will find the time to look into this."}}
{"actor":{"display_login":"mantoni"}}