Merge pull request #1 from crookedneighbor/blade-5355-gulpify-test-suite

For #5355 - gulpify test suite
This commit is contained in:
Kevin Gisi
2015-06-06 20:54:17 -04:00
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
"node": "0.10.x"
},
"scripts": {
"test": "./node_modules/.bin/gulp",
"test": "./node_modules/.bin/gulp test",
"start": "grunt run:dev",
"postinstall": "./node_modules/bower/bin/bower --config.interactive=false install -f; ./node_modules/.bin/grunt;",
"coverage": "COVERAGE=true mocha --require register-handlers.js --reporter html-cov > coverage.html; open coverage.html"
+3 -3
View File
@@ -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
);