Skip to content

Instantly share code, notes, and snippets.

@jasonpincin
Created July 2, 2013 23:54
Show Gist options
  • Save jasonpincin/5914320 to your computer and use it in GitHub Desktop.
Save jasonpincin/5914320 to your computer and use it in GitHub Desktop.
jasmine test with tap output
if (require.main === module) {
var _t = require('jasmine-node').getEnv()
_t.addReporter(new (require('jasmine-tapreporter'))(console.log))
process.nextTick(_t.execute.bind(_t))
}
describe('something', function () {
it('should do something', function () {
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment