[Pkg-javascript-commits] [leaflet] 44/78: update karma code

Jonas Smedegaard dr at jones.dk
Sat May 7 08:58:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit 91d96d7fab00620862b44dc88a3e91ba5ba16f0e
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Mon Oct 26 11:50:38 2015 +0200

    update karma code
---
 build/build.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build/build.js b/build/build.js
index ad364fc..c2da58a 100644
--- a/build/build.js
+++ b/build/build.js
@@ -179,10 +179,12 @@ exports.test = function(callback) {
 
 	console.log('Running tests...');
 
-	karma.server.start(testConfig, function(exitCode) {
+	var server = new karma.Server(testConfig, function(exitCode) {
 		if (!exitCode) {
 			console.log('\tTests ran successfully.\n');
 		}
 		callback();
 	});
+
+	server.start();
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list