Skip to content

Instantly share code, notes, and snippets.

@msuarz
Created July 11, 2012 18:30
Show Gist options
  • 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