Skip to content

Instantly share code, notes, and snippets.

@jasonpincin
Created August 1, 2013 20:38
Show Gist options
  • Save jasonpincin/6135060 to your computer and use it in GitHub Desktop.
Save jasonpincin/6135060 to your computer and use it in GitHub Desktop.
Enable tap reporting for jasmine-node
if (require.main === module) {
var _t = require('jasmine-node').getEnv()
_t.addReporter(new (require('jasmine-tapreporter'))(console.log))
process.nextTick(_t.execute.bind(_t))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment