Skip to content

Commit a128e5c

Browse files
committed
fix(runner): Make process kill timeout configurable - Fix Build
Fixing build (Writing value of 2000 in case of variable not being initialized) Closes #2447
1 parent ffaa054 commit a128e5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/launchers/process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var env = process.env
55
var ProcessLauncher = function (spawn, tempDir, timer, processKillTimeout) {
66
var self = this
77
var onExitCallback
8-
var killTimeout = processKillTimeout
8+
var killTimeout = processKillTimeout || 2000
99

1010
this._tempDir = tempDir.getPath('/karma-' + this.id.toString())
1111

0 commit comments

Comments
 (0)