mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Remove Grunt from karma test chain
This commit is contained in:
parent
f613a5e5a7
commit
ff017be664
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue