karma-runner/karma-jasmine — pull request #70 by olegskl (2014-12-31 23:12:38+00:00)
Title: fix(adapter): cleanup error stack trace

# Proposal for #60

Replaces the following:

```Bash
Chrome 40.0.2214 (Mac OS X 10.9.5) xxx should return false 1 FAILED
Expected true to be false.
Error: Expected true to be false.
at stack (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1441:17)
at buildExpectationResult (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1411:14)
at Spec.Env.expectationResultFactory (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:533:18)
at Spec.addExpectationResult (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:293:34)
at Expectation.addExpectationResult (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:477:21)
at Expectation.toBe (/foo/bar/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1365:12)
at /foo/bar/baz.spec.js:23:29
at /foo/bar/baz.js:18:20
```

with a concise:

```Bash
Chrome 40.0.2214 (Mac OS X 10.9.5) xxx should return false 1 FAILED
Expected true to be false.
at /foo/bar/baz.spec.js:23:29
at /foo/bar/baz.js:18:20
```

Also handles multiline error message in PhantomJS.