gulp-ava 运行测试 安装 $ npm install --save-dev gulp-ava 用法 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 } ) ) ) ; A