Skip to content

Instantly share code, notes, and snippets.

@big-kahuna-burger
Created March 22, 2017 21:11
Show Gist options
  • Save big-kahuna-burger/1392076b3c8ebaf568978b5bf8beeead to your computer and use it in GitHub Desktop.
Save big-kahuna-burger/1392076b3c8ebaf568978b5bf8beeead to your computer and use it in GitHub Desktop.
setup and teardown in tape
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