Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

gulp-ava Build Status

Run AVA tests

Install

$ npm install --save-dev gulp-ava

Usage

const gulp = require('gulp');
const ava = require('gulp-ava');

exports.default = () => (
	gulp.src('test.js')
		// `gulp-ava` needs file paths, so you can't have any plugins before it
		.pipe(ava({verbose: true}))
);

API

ava(options?)

This plugin adheres to AVA options in package.json. You can also specify options in the plugin, as seen above, but prefer the package.json approach whenever possible.

gulp-ava specific options:

silent

Type: boolean
Default: false

Only print output on failure.

nyc

Type: boolean
Default: false

Run AVA with nyc. You must have nyc as a devDependency. nyc options can be defined in package.json.