jstd r899 2011-02-18 (post 1.3.1) + fix for jasmine adapter.

This commit is contained in:
Igor Minar 2011-02-18 15:59:32 -08:00
parent 4c762bfe5c
commit 73ee5fc008
3 changed files with 6 additions and 3 deletions

View file

@ -44,8 +44,11 @@
for ( var i = 0; i < resultItems.length; i++) {
if (!resultItems[i].passed()) {
state = resultItems[i].message.match(/AssertionError:/) ? 'error' : 'failed';
messages.push(resultItems[i].toString());
messages.push(formatStack(resultItems[i].trace.stack));
messages.push({
'name' : resultItems[i].matcherName,
'message' : resultItems[i].toString(),
'stack' : formatStack(resultItems[i].trace.stack)
});
}
}
onTestDone(
@ -53,7 +56,7 @@
suite.getFullName(),
spec.description,
state,
messages.join('\n'),
jstestdriver.angular.toJson(messages),
specLog.join('\n'),
end - start));
},

Binary file not shown.

Binary file not shown.