const gulp = require('gulp');
const mocha = require('gulp-mocha');
const tests = require('../test/unit.test');

gulp.task('test', function() {
    return gulp
        .src(tests)
        .pipe(mocha({
            bail: true
        }))
        .once('end', function() {
            process.exit();
        });
});

const gulp = require('gulp');
const mocha = require('gulp-mocha');
const tests = require('../test/unit.test');

gulp.task('test', function() {
    return gulp
        .src(tests)
        .pipe(mocha({
            bail: true,
            "expose-gc": true
        }))
        .once('end', function() {
            process.exit();
        });
});

ADD harmony for gc in tests
ADD harmony for gc in tests
