Skip to content

Commit

Permalink
update karma,
Browse files Browse the repository at this point in the history
exit process in gulp test, otherwise it doesn’t close
  • Loading branch information
officert committed Jan 7, 2016
1 parent 9823b3e commit f93241d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* =========================================================================
* Dependencies
* ========================================================================= */
'use strict';

const gulp = require('gulp');
const jshint = require('gulp-jshint');
const less = require('gulp-less');
Expand Down Expand Up @@ -221,8 +220,10 @@ gulp.task('serve-site', ['site-css'], () => {

gulp.task('default', ['serve']);

gulp.task('test', (next) => {
runSequence('jshint', 'test-int', 'test-unit', 'test-unit-ui', next);
gulp.task('test', () => {
runSequence('jshint', 'test-int', 'test-unit', 'test-unit-ui', () => {
process.exit(1);
});
});

gulp.task('test-int', () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"jasmine-core": "2.4.1",
"jshint": "2.8.0",
"jshint-stylish": "2.1.0",
"karma": "0.13.15",
"karma": "0.13.19 ",
"karma-electron-launcher": "0.1.0",
"karma-jasmine": "0.3.6",
"karma-sinon": "1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion tests/config/dbConnections-test.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"id":"8c95f7dc-c180-4b79-8e5a-62467bc8c0c4","port":344555,"databases":[]}]
[{"id":"9e82937b-0096-4ea6-8cd7-03c8179adc70","port":344555,"databases":[]}]

0 comments on commit f93241d

Please sign in to comment.