mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Remove Grunt from karma test chain
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
import { pipe, awaitPort, kill } from './taskHelper';
|
import { pipe, awaitPort, kill } from './taskHelper';
|
||||||
|
import { server as karma } from 'karma';
|
||||||
import { exec } from 'child_process';
|
import { exec } from 'child_process';
|
||||||
|
import psTree from 'ps-tree';
|
||||||
import gulp from 'gulp';
|
import gulp from 'gulp';
|
||||||
import Q from 'q';
|
import Q from 'q';
|
||||||
|
|
||||||
@@ -47,7 +49,7 @@ gulp.task('test:api', ['test:prepare'], (cb) => {
|
|||||||
|
|
||||||
gulp.task('test:karma', ['test:prepare'], (cb) => {
|
gulp.task('test:karma', ['test:prepare'], (cb) => {
|
||||||
let runner = exec(
|
let runner = exec(
|
||||||
testBin('grunt karma:continuous'), cb
|
testBin('karma start --single-run'), cb
|
||||||
);
|
);
|
||||||
pipe(runner);
|
pipe(runner);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user