Package Exports
- gulp-tape
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-tape) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-tape

Usage
'use strict';
var gulp = require('gulp');
var tape = require('gulp-tape');
var tapColorize = require('tap-colorize');
gulp.task('test', function() {
return gulp.src('test/*.js')
.pipe(tape({
reporter: tapColorize()
}));
});
API
var tape = require('gulp-tape');
tape([opts])
opts
is an object literal that can take the following keys:
bail
— Whether to stop the Gulp process on the first failing assertion. Defaults tofalse
.outputStream
— The stream to pipe the test output. Defaults toprocess.stdout
.reporter
— The reporter (a readable/writable stream, as intap-colorize
) to format the TAP output. The output is simply not formatted if this isn’t specified.tapeOpts
— The options passed totape.createStream
.
Installation
Install via npm (together with Tape):
$ npm install --save-dev gulp-tape tape