Set up new api test structure

This commit is contained in:
Blade Barringer
2015-10-17 12:37:17 -05:00
parent 59e2b92dae
commit 02e9775ba7
4 changed files with 63 additions and 3 deletions

View File

@@ -284,7 +284,8 @@ gulp.task('test:e2e:safe', ['test:prepare'], (cb) => {
});
gulp.task('test:api', ['test:startServer', 'test:prepare:mongo'], (done) => {
let mocha = new Mocha();
require('../test/helpers/globals.helper');
let mocha = new Mocha({reporter: 'spec'});
let tests = glob('./test/api/**/*.js');
tests.forEach((test) => {