From 62c3c6790659f8f82f8a2ca5646aa424eeb28842 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Sat, 2 Mar 2013 16:47:10 -0800 Subject: [PATCH] fix(coverage): always send a result object This is just a fix for stable, in the master I will change the implementation, so that the "testacular" is responsible for sending the coverage results, rather than individual adapters. Closes #365 --- static/testacular.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/testacular.src.js b/static/testacular.src.js index e446b9d71..6b6e45022 100644 --- a/static/testacular.src.js +++ b/static/testacular.src.js @@ -90,7 +90,7 @@ var Testacular = function(socket, context, navigator, location) { }; this.complete = function(result) { - socket.emit('complete', result); + socket.emit('complete', result || {}); clearContext(); };