Detalhes do pacote

wrapping-tape

daleharvey11Apache0.0.3

Wrap tape tests to add setup and teardown functionality

testing, tape, setup, teardown

readme (leia-me)

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

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


## Install

$ npm install wrapping-tape ```