gulp-ignite-mocha
v2.0.0
Published
A gulp ignite task for testing with mocha.
Downloads
3
Maintainers
Readme
gulp-ignite-mocha
install
NPM
$ npm install --save-dev gulp-ignite gulp-ignite-mocha
example
import { task, watch } from 'gulp-ignite';
import mocha from 'gulp-ignite-mocha';
task('test', mocha, { src: './src/**/*.spec.js' });
watch('test:watch', './src/**/*.js', ['test']);
usage
Run mocha on test files.
$ gulp mocha
options
src
- Source files to test. (Default:['./client/app/*.spec.js']
)options
- Options to pass through to mocha cli. (Default:{}
)deps
- Any gulp tasks that task would be dependent of. (Default:[]
)
license
The MIT License (MIT)
Copyright (c) 2016 Javier Carmona
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.