Commit 16f6b368 authored by Ariel Flesler's avatar Ariel Flesler

test runner: when errors are thrown in a test, the message is successfully show on all browsers.

parent 99101e02
......@@ -110,7 +110,7 @@ function test(name, callback, nowait) {
console.error(e);
console.warn(callback.toString());
}
_config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] );
_config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e.message ] );
}
});
synchronize(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment