added unit testing, and started implementing unit tests...phew

This commit is contained in:
Josh Burman
2019-03-12 22:28:02 -04:00
parent 74aad4a957
commit e8c2539f1b
3489 changed files with 464813 additions and 88 deletions

23
node_modules/yaeti/gulpfile.js generated vendored Normal file
View File

@ -0,0 +1,23 @@
var
/**
* Dependencies.
*/
gulp = require('gulp'),
jscs = require('gulp-jscs'),
jshint = require('gulp-jshint'),
stylish = require('gulp-jscs-stylish');
gulp.task('lint', function () {
var src = ['gulpfile.js', 'index.js', 'lib/**/*.js'];
return gulp.src(src)
.pipe(jshint('.jshintrc')) // Enforce good practics.
.pipe(jscs('.jscsrc')) // Enforce style guide.
.pipe(stylish.combineWithHintResults())
.pipe(jshint.reporter('jshint-stylish', {verbose: true}))
.pipe(jshint.reporter('fail'));
});
gulp.task('default', gulp.task('lint'));