Created
October 13, 2011 18:48
-
-
Save jxson/1285108 to your computer and use it in GitHub Desktop.
Stub file for writing vows tests
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
var vows = require('vows') | |
, assert = require('assert') | |
; | |
vows.describe('Whatever').addBatch({ | |
'top level context': { | |
topic: function(){ | |
var foo = 'bar'; | |
return foo; | |
}, | |
'this should run': function(foo){ | |
assert.ok(true); | |
assert.equal(foo, 'bar'); | |
} | |
} | |
}).export(module); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment