Skip to content

Instantly share code, notes, and snippets.

@jxson
Created October 13, 2011 18:48
Show Gist options
  • Save jxson/1285108 to your computer and use it in GitHub Desktop.
Save jxson/1285108 to your computer and use it in GitHub Desktop.
Stub file for writing vows tests
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