Skip to content

Instantly share code, notes, and snippets.

@cltatman
Created February 18, 2016 01:13
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 cltatman/6752a7e2e788708d1c0d to your computer and use it in GitHub Desktop.
Save cltatman/6752a7e2e788708d1c0d to your computer and use it in GitHub Desktop.
// Promise.coroutine test boilerplate
it('test description', function (done) {
Promise.coroutine(function *() {
// test contents
})().then(done);
});
// Co-Mocha test boilerplate
it('test description', function *() {
// test contents
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment