mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-19 02:04:10 +00:00
Make test groups depend on specific test:prepare tasks
This commit is contained in:
parent
ff39773aa4
commit
a1cce24010
1 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ gulp.task('test:prepare', [
|
|||
'test:prepare:webdriver'
|
||||
]);
|
||||
|
||||
gulp.task('test:common', ['test:prepare'], (cb) => {
|
||||
gulp.task('test:common', ['test:prepare:build'], (cb) => {
|
||||
let runner = exec(
|
||||
testBin('mocha test/common'), cb
|
||||
);
|
||||
|
|
@ -45,14 +45,14 @@ gulp.task('test:common', ['test:prepare'], (cb) => {
|
|||
});
|
||||
|
||||
|
||||
gulp.task('test:api', ['test:prepare'], (cb) => {
|
||||
gulp.task('test:api', ['test:prepare:mongo'], (cb) => {
|
||||
let runner = exec(
|
||||
testBin('mocha test/api'), cb
|
||||
);
|
||||
pipe(runner);
|
||||
});
|
||||
|
||||
gulp.task('test:karma', ['test:prepare'], (cb) => {
|
||||
gulp.task('test:karma', ['test:prepare:build'], (cb) => {
|
||||
let runner = exec(
|
||||
testBin('karma start --single-run'), cb
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue