JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 444
  • Score
    100M100P100Q98022F
  • License MIT

Run Tape tests in Gulp.

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 npm Version Build Status

Run Tape tests in Gulp.

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:

  • outputStream — The stream to pipe the test output. Defaults to process.stdout.

  • reporter — The reporter (a readable/writable stream, as in tap-colorize) to format the TAP output. The output is simply not formatted if this isn’t specified.

Installation

Install via npm (together with Tape):

$ npm i --save-dev gulp-tape tape

License

MIT