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 b2b61ca commit 62c3c67
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 @@ -90,7 +90,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 62c3c67

Please sign in to comment.