wrapping-tape

v0.0.3
Wrap tape tests to add setup and teardown functionality
testing tape setup teardown

wrapping-tape

Wrap tape tests to add setup and teardown functionality

Example

var tape = require('wrapping-tape');

var test = tape({
  setup: function(done) {
    ... do test setup
    done();
  },
  teardown: function(done) {
    ... do test teardown
    done();
  }
});

or

var test = require('wrapping-tape')({
  setup: function(done) {
    ... do test setup
  },
  teardown: function(done) {
    ... do test teardown
  }
});
```

## Install
```
$ npm install wrapping-tape
```
npm i wrapping-tape

Metadata

  • Apache
  • Whatever
  • Dale Harvey
  • released 9/1/2013

Downloads

Maintainers