mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
Set up new api test structure
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user