Created
July 2, 2013 23:54
-
-
Save jasonpincin/5914320 to your computer and use it in GitHub Desktop.
jasmine test with tap output
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
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