Created
March 22, 2017 21:11
-
-
Save big-kahuna-burger/1392076b3c8ebaf568978b5bf8beeead to your computer and use it in GitHub Desktop.
setup and teardown in tape
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 test = require('tape'); | |
test('setup', function (t) { | |
// ... | |
t.end(); | |
}); | |
// tests go here | |
test('teardown', function (t) { | |
// ... | |
t.end(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment