From a128e5cf64d744ae648a0885c4151c877cf5eff9 Mon Sep 17 00:00:00 2001 From: vivganes Date: Fri, 13 Jan 2017 00:17:43 +0530 Subject: [PATCH] fix(runner): Make process kill timeout configurable - Fix Build Fixing build (Writing value of 2000 in case of variable not being initialized) Closes #2447 --- lib/launchers/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/launchers/process.js b/lib/launchers/process.js index 97f137aa0..f82bf7167 100644 --- a/lib/launchers/process.js +++ b/lib/launchers/process.js @@ -5,7 +5,7 @@ var env = process.env var ProcessLauncher = function (spawn, tempDir, timer, processKillTimeout) { var self = this var onExitCallback - var killTimeout = processKillTimeout + var killTimeout = processKillTimeout || 2000 this._tempDir = tempDir.getPath('/karma-' + this.id.toString())