Skip to content

Commit

Permalink
fix(coverage): always send a result object
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vojtajina committed Mar 3, 2013
1 parent ec5e08e commit 2d210aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/testacular.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var Testacular = function(socket, context, navigator, location) {
};

this.complete = function(result) {
socket.emit('complete', result);
socket.emit('complete', result || {});
clearContext();
};

Expand Down

0 comments on commit 2d210aa

Please sign in to comment.