Attempt at normalizing error stacks across browsers.

Failed expectations now have a `stack` property, remove `trace.stack`
This commit is contained in:
Dan Hansen and Davis W. Frank
2013-02-27 16:37:31 -08:00
parent dc4563d45c
commit d6da13a8dd
12 changed files with 237 additions and 132 deletions

View File

@@ -369,9 +369,7 @@ describe("New HtmlReporter", function() {
failedExpectations: [
{
message: "a failure message",
trace: {
stack: "a stack trace"
}
stack: "a stack trace"
}
]
};