Skip to content

unlight/sigh-ava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adapt ava to work with sighjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages