0.0.3 • Published 11 years ago

wrapping-tape v0.0.3

Weekly downloads
9
License
-
Repository
github
Last release
11 years ago

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
```
0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago