{"action":"created","issue":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/1075","repository_url":"https://api.github.com/repos/sinonjs/sinon","labels_url":"https://api.github.com/repos/sinonjs/sinon/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/sinonjs/sinon/issues/1075/comments","events_url":"https://api.github.com/repos/sinonjs/sinon/issues/1075/events","html_url":"https://github.com/sinonjs/sinon/issues/1075","id":162575916,"number":1075,"title":"Expose `assert` on sandbox instances","user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T00:12:36Z","updated_at":"2016-06-28T05:01:08Z","closed_at":null,"body":"Per https://github.com/wealthfront/sinon-sandbox/issues/7:\r\n\r\n> In our codebase, we use `import sinon from 'sinon-sandbox'`, and have a linter rule that forbids importing `sinon` directly. However, this means we can't use `sinon.assert`.\r\n\r\nWould you be willing to accept a PR that attaches `sinon.assert` to sandbox instances?"},"comment":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/comments/228948745","html_url":"https://github.com/sinonjs/sinon/issues/1075#issuecomment-228948745","issue_url":"https://api.github.com/repos/sinonjs/sinon/issues/1075","id":228948745,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T05:01:08Z","updated_at":"2016-06-28T05:01:08Z","body":"@mantoni according to http://sinonjs.org/docs/#assert-expose, that means that the actual `sinon.assert` API won't be there - ie, `sinon.assert.called` will become `assertCalled` - the whole idea is that `sinonSandbox.assert` has identical methods as `sinon.assert` :-/"}}
{"actor":{"display_login":"ljharb"}}