Skip to content

Instantly share code, notes, and snippets.

@reyhansofian
Created January 4, 2017 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reyhansofian/d6c463c4dbfa761851960c3bcfc02d05 to your computer and use it in GitHub Desktop.
Save reyhansofian/d6c463c4dbfa761851960c3bcfc02d05 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