Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unlight/sigh-ava

Adapt ava to work with sighjs
https://github.com/unlight/sigh-ava

Last synced: about 1 month ago
JSON representation

Adapt ava to work with sighjs

Awesome Lists containing this project

README

        

sigh-ava
--------
Adapt ava to work with sighjs.

### INSTALL
```js
npm install ava sigh-ava --save-dev
```

### EXAMPLE
```js
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
```js
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