Created
July 11, 2012 18:30
-
-
Save msuarz/3092205 to your computer and use it in GitHub Desktop.
catching exceptions in callbacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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