Skip to content

Instantly share code, notes, and snippets.

@cranic
Forked from brianc/gist:7214887
Last active December 26, 2015 21:19
Show Gist options
  • Save cranic/7214904 to your computer and use it in GitHub Desktop.
Save cranic/7214904 to your computer and use it in GitHub Desktop.
describe('something that should not exit', function() {
it('sets a really long timeout', function(done) { // callback missing here
setTimeout(function() { console.log('Im still running'); done()}, 1000000)
});
after(function(done) {
setTimeout(done, 1000);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment