# all files / technicalindicators/ gulpfile.js

0% Statements 0/8
100% Branches 0/0
0% Functions 0/2
0% Lines 0/8

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17

     var gulp = require('gulp');
    var mocha = require('gulp-mocha');
    var util = require('gulp-util');
    var babel = require('babel-register');

    gulp.task('test', function () {
      return gulp.src(['test/**/*.js'], { read: false })
          .pipe(mocha({
            reporter: 'spec',
            compilers: ['js:babel-core/register']
          }))
          .on('error', util.log);
    });

    gulp.task('watch-test', function () {
      gulp.watch(['lib/**', 'test/**'], ['test']);
    });