{"comment":{"created_at":"2011-10-11T23:40:16Z","body":"So here: http://try-jasmine.heroku.com/\r\n\r\nI tried this test:\r\n\r\n```javascript\r\ndescribe('panda',function(){\r\n  it('is happy',function(){\r\n    this.fail();\r\n  });\r\n});\r\n```\r\n\r\nwhich failed with this trace:\r\n\r\nError: Exception\r\n    at new <anonymous> (http://try-jasmine.heroku.com/js/vendor/jasmine-1.0.2/jasmine.js:94:50)\r\n    at [object Object].fail (http://try-jasmine.heroku.com/js/vendor/jasmine-1.0.2/jasmine.js:1963:27)\r\n    at [object Object].<anonymous> (eval at <anonymous> (http://try-jasmine.heroku.com/js/try-it.js:30:14))\r\n    at [object Object].execute (http://try-jasmine.heroku.com/js/vendor/jasmine-1.0.2/jasmine.js:968:15)\r\n    at [object Object].next_ (http://try-jasmine.heroku.com/js/vendor/jasmine-1.0.2/jasmine.js:1739:31)\r\n    at http://try-jasmine.heroku.com/js/vendor/jasmine-1.0.2/jasmine.js:1729:18\r\n\r\nThis is what I'd expect to see.  So the case where the call is this.fail() is correct, but it's not handled correctly after the failure (see the previous post with text.split(.) crashing).","updated_at":"2011-10-11T23:40:16Z","url":"https://api.github.com/repos/mhevery/jasmine-node/issues/comments/2373938","id":2373938,"user":{"avatar_url":"https://secure.gravatar.com/avatar/03abf8de59274b12f6f18e2865654c12?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cclamb","id":251015,"login":"cclamb"}},"action":"created","issue":{"number":81,"created_at":"2011-10-11T12:44:48Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi, when I run jasmine-node over tests and attempt to call the fail() method, I get this:\r\n\r\nReferenceError: fail is not defined\r\n\r\nfail() is defined in Jasmine, though I'm not sure of jasmine-node is supporting that part of the API yet? I have yet to look at this in any depth though I intend to, and I'll follow up with additional info as I get it.\r\n\r\nI use it like this, preferring the second case\r\n\r\n```javascript\r\ndescribe('thing', function() {\r\n\r\n  it('should fail', function() {\r\n    fail();\r\n  });\r\n\r\n  it('should also fail', fail());\r\n\r\n});\r\n```\r\n","comments":5,"title":"find fail() function?","updated_at":"2011-10-11T23:40:16Z","url":"https://api.github.com/repos/mhevery/jasmine-node/issues/81","id":1874262,"assignee":null,"milestone":null,"closed_at":"2011-10-11T20:54:30Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/03abf8de59274b12f6f18e2865654c12?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cclamb","id":251015,"login":"cclamb"},"html_url":"https://github.com/mhevery/jasmine-node/issues/81","labels":[],"state":"closed"},"legacy":{"issue_id":1874262,"comment_id":2373938}}