Home

Awesome

start-ava

npm linux build windows build coverage deps

AVA task for Start.

Install

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

Usage

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

const start = Start(reporter());

export const test = () => start(
  files('test/**/*.js'),
  ava('tap', tapSpec)
);

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

This task relies on array of files and provides the same, see documentation for details.

:point_right: Note that this task will not work together with start-istanbul.

Arguments

ava(avaReporter, tapReporter)