JS: report stack trace when test failed

(cherry picked from commit 70004ed)
This commit is contained in:
develar
2013-09-20 17:10:53 +04:00
committed by Zalim Bashorov
parent 0182ec280a
commit f4575b8c85
@@ -33,7 +33,7 @@ var JsTests = (function () {
}
catch (fail) {
if (fail != failedTest) {
reporter.reportError("Unexpected exception " + fail);
reporter.reportError("Unexpected exception " + fail + "\n" + fail.stack);
}
reporter.testFail(testName);
return;