Created
August 25, 2011 16:29
-
-
Save mmalecki/1171085 to your computer and use it in GitHub Desktop.
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
module.exports = { | |
setUpGroup: function (callback) { | |
console.log('0'); | |
callback(); | |
} | |
setUp: function (callback) { | |
this.foo = 'bar'; | |
console.log('1'); | |
callback(); | |
}, | |
test1: function (test) { | |
console.log('2'); | |
test.equals(this.foo, 'bar'); | |
test.done(); | |
} | |
tearDown: function (callback) { | |
// clean up | |
console.log('3'); | |
callback(); | |
}, | |
tearDownGroup: function (callback) { | |
console.log('4'); | |
callback(); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment