0.3.1 • Published 8 years ago

sigh-ava v0.3.1

Weekly downloads
3
License
Xnet
Repository
github
Last release
8 years ago

sigh-ava

Adapt ava to work with sighjs.

INSTALL

npm install ava sigh-ava --save-dev

EXAMPLE

var merge, glob, concat, write, env, pipeline;
var ts;
var ava;

module.exports = function(pipelines) {

    pipelines["build"] = [
        glob({basePath: "src"}, "**/*.ts"),
        ts(),
        write("lib")
    ];
    
    pipelines["test"] = [
        ava({files: "test/*.js", source: "src/**/*.ts"})
    ];
};

API

ava(options)

Running sigh with option -w launches ava in watch mode (option watch).

OPTIONS

  • files
    Glob patterns for test files.
    Type: string
    Default: test.js test-*.js

  • source
    Type: Array<string>
    Pattern to match source files so tests can be re-run (Can be repeated)

See other options at avajs/ava#cli

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.0.1

8 years ago