start-ava

    0.2.0 • Public • Published

    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.

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

    Arguments

    ava(avaReporter, tapReporter)

    • avaReporter – name of AVA reporter, 'verbose' by default
    • tapReporter – optional tap reporter for avaReporter='tap'

    Install

    npm i start-ava

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • deepsweet