{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/327","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/327/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/327/events","html_url":"https://github.com/cucumber/cucumber-js/issues/327","id":72085468,"number":327,"title":"Need a way to access chai's \"should\" object","user":{"login":"brettle","id":118192,"avatar_url":"https://avatars.githubusercontent.com/u/118192?v=3","gravatar_id":"","url":"https://api.github.com/users/brettle","html_url":"https://github.com/brettle","followers_url":"https://api.github.com/users/brettle/followers","following_url":"https://api.github.com/users/brettle/following{/other_user}","gists_url":"https://api.github.com/users/brettle/gists{/gist_id}","starred_url":"https://api.github.com/users/brettle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettle/subscriptions","organizations_url":"https://api.github.com/users/brettle/orgs","repos_url":"https://api.github.com/users/brettle/repos","events_url":"https://api.github.com/users/brettle/events{/privacy}","received_events_url":"https://api.github.com/users/brettle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T07:18:16Z","updated_at":"2015-04-30T09:14:42Z","closed_at":null,"body":"Although chai.should() is automatically called, there is currently no way to access the object that it returns. That object is normally used like this:\r\n\r\n    should = chai.should(); \r\n    should.exist(var_which_could_be_undefined);\r\n\r\nOne solution would be to make the object returned by chai.should() available as global.should.\r\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/97715995","html_url":"https://github.com/cucumber/cucumber-js/issues/327#issuecomment-97715995","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/327","id":97715995,"user":{"login":"goofballLogic","id":910448,"avatar_url":"https://avatars.githubusercontent.com/u/910448?v=3","gravatar_id":"","url":"https://api.github.com/users/goofballLogic","html_url":"https://github.com/goofballLogic","followers_url":"https://api.github.com/users/goofballLogic/followers","following_url":"https://api.github.com/users/goofballLogic/following{/other_user}","gists_url":"https://api.github.com/users/goofballLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/goofballLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goofballLogic/subscriptions","organizations_url":"https://api.github.com/users/goofballLogic/orgs","repos_url":"https://api.github.com/users/goofballLogic/repos","events_url":"https://api.github.com/users/goofballLogic/events{/privacy}","received_events_url":"https://api.github.com/users/goofballLogic/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T09:14:42Z","updated_at":"2015-04-30T09:14:42Z","body":"Can you post a larger chunk of code showing what you are trying to do? I use chai should with cucumber.js all the time."}}