help wantedneeds: investigationtype: bug
Description
Expected behaviour
The batch job gulp test_browser should terminate when the Gulp task test_browser finishes.
Actual behaviour
The batch job gulp test_browser does not terminate when the Gulp task test_browser finishes. I need to kill the job manually (Ctrl + C).
Environment Details
- Operating system: Windows 10 Home
- Karma version (output of
karma --version): 1.4.0
gulpfile.js
gulp.task('test_browser', function(done) {
gutil.log(gutil.colors.yellow('Running tests in Google Chrome:'));
var server = new Server({
configFile: __dirname + '/karma.conf.js',
files: [
'test/js/helpers/**/*.js',
paths.dist_window + '/**/*.js',
'test/js/specs/**/*Spec.js'
]
}, done);
server.start();
});
Steps to reproduce the behaviour
- I upgraded from
"karma": "1.3.0"to"karma": "1.4.0"(inpackage.json) - When I run
gulp test_browser, then this job does not terminate with Karma 1.4.0 (but it does with Karma 1.3.0) - The project I used for testing is: https://github.com/wireapp/bazinga64
Terminal output with Karma v1.3.0 server
Terminal output with Karma v1.4.0 server
Please let me know if you need more details. Happy to help!