From 2d210aa6697991f2eba05de58a696c5210485c88 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 fc9422894..8afa49f9a 100644 --- a/static/testacular.src.js +++ b/static/testacular.src.js @@ -89,7 +89,7 @@ var Testacular = function(socket, context, navigator, location) { }; this.complete = function(result) { - socket.emit('complete', result); + socket.emit('complete', result || {}); clearContext(); };