JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 485
  • Score
    100M100P100Q96209F
  • 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

const gulp = require('gulp')
const tape = require('gulp-tape')

gulp.task('test', function () {
  return gulp.src('test/*.js')
    .pipe(tape({
      bail: true
    }))
})

API

const tape = require('gulp-tape')

tape([options])

options is an optional object literal.

Key Description Default
bail Whether to stop the Gulp process on the first failing assertion. false
nyc Whether to compute test coverage using nyc. (Specify nyc options in your package.json.) false
outputStream The stream to pipe the test output. process.stdout
require Modules to load before running the tests. []

Installation

Install via yarn:

$ yarn add --dev gulp-tape

Or npm:

$ npm install --save-dev gulp-tape

License

MIT