Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/unlight/sigh-ava
- Owner: unlight
- Created: 2015-12-26T20:39:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T16:23:13.000Z (over 7 years ago)
- Last Synced: 2024-10-05T15:04:37.855Z (2 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-ava - sigh-ava - Run tests with Sigh. (Packages)
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