{"action":"closed","issue":{"url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/48","labels_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/48/comments","events_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/48/events","html_url":"https://github.com/xolvio/meteor-cucumber/issues/48","id":58536262,"number":48,"title":"0.3.10 throws Exception in callback of async function.. same code works in 0.3.9...","user":{"login":"sunkay","id":698258,"avatar_url":"https://avatars.githubusercontent.com/u/698258?v=3","gravatar_id":"","url":"https://api.github.com/users/sunkay","html_url":"https://github.com/sunkay","followers_url":"https://api.github.com/users/sunkay/followers","following_url":"https://api.github.com/users/sunkay/following{/other_user}","gists_url":"https://api.github.com/users/sunkay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunkay/subscriptions","organizations_url":"https://api.github.com/users/sunkay/orgs","repos_url":"https://api.github.com/users/sunkay/repos","events_url":"https://api.github.com/users/sunkay/events{/privacy}","received_events_url":"https://api.github.com/users/sunkay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xolvio/meteor-cucumber/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-23T02:36:56Z","updated_at":"2015-05-07T05:08:58Z","closed_at":"2015-05-07T05:08:58Z","body":"0.3.10 throws this exception:\r\nException in callback of async function: TypeError: object is not a function\r\nat /Users/sunil/meteor/meteor-boiler/tests/cucumber/features/support/hooks.js:45:7\r\nat runWithEnvironment (/Users/sunil/meteor/meteor-boiler/.meteor/local/build/programs/server/packages/meteor.js:1052:24)\r\n\r\nMy before hook is fairly simple. This exception happens at callback().\r\n\r\nMy before hook:\r\n\r\nthis.Before(\"@beforeHookLogin\", function(callback){\r\n  console.log(\"start @beforeHookLogin\");\r\n  //always signout before sigingin in\r\n  helper.world.browser.\r\n    url(helper.world.cucumber.mirror.rootUrl).\r\n    waitForExist('#at-nav-button').\r\n    waitForVisible('#at-nav-button').\r\n    click('#at-nav-button');\r\n\r\n\r\n  // make sure the user is Authenticated\r\n  helper.world.browser.\r\n    url(helper.world.cucumber.mirror.rootUrl+\"sign-in\").\r\n    waitForExist('.at-pwd-form').\r\n    waitForVisible('.at-pwd-form').\r\n    setValue('#at-field-email', 'sunil@y.com').\r\n    setValue('#at-field-password', 'sunil123').\r\n    click('#at-btn');\r\n\r\n  console.log(\"End @beforeHookLogin\");\r\n\r\n  callback(); <-- exception happens here\r\n});"}}