0.2.0 • Published 7 years ago

start-tape v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

start-tape

npm linux build windows build coverage deps

Tape task for Start.

Install

npm install --save-dev start-tape
# or
yarn add --dev start-tape

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import watch from 'start-watch';
import tape from 'start-tape';
import spec from 'tap-spec';

const start = Start(reporter());

export const test = () => start(
  files('test/**/*.js'),
  tape(spec)
);

export const tdd = () => start(
  files([ 'lib/**/*.js', 'test/**/*.js']),
  watch(test)
);

This task relies on array of files, see documentation for details.

Arguments

tape(reporter)