Skip to content

Instantly share code, notes, and snippets.

@msuarz
Created July 11, 2012 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msuarz/3092205 to your computer and use it in GitHub Desktop.
Save msuarz/3092205 to your computer and use it in GitHub Desktop.
catching exceptions in callbacks
should = require 'should'
describe 'cool', ->
it 'is', (done) -> done()
it 'is not', (done) ->
process.nextTick ->
true.should.be.false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment