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(); };