Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History

plugin-lib-tape

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

✅ plugin-lib-tape

npm linux windows coverage deps

Run tests using Tape.

Install

$ yarn add --dev @start/plugin-lib-tape
# or
$ npm install --save-dev @start/plugin-lib-tape

Usage

Signature

tape(reporter?: () => NodeJS.ReadWriteStream)

reporter

TAP compatible reporter.

Example

import sequence from '@start/plugin-sequence'
import find from '@start/plugin-find'
import tape from '@start/plugin-lib-tape'
import tapDiff from 'tap-diff'

export const task = () =>
  sequence(
    find('test/**/*.js'),
    tape(tapDiff)
  )