When an AssertionError occurs in a transpiled test, the report looks like this:
AssertionError: expected 'Hello, fooo.' to equal 'Hello, foo.'
at Context.eval (base/test/hello.spec.js!eval:23:44)
Ideally it would show the line in the source file, like base/test/hello.spec.js:11:44
I'm not sure what projects would need changes to plumb this through, but IMO this ought to work out of the box. Opening an issue here to track upstreams.
When an
AssertionError
occurs in a transpiled test, the report looks like this:Ideally it would show the line in the source file, like
base/test/hello.spec.js:11:44
I'm not sure what projects would need changes to plumb this through, but IMO this ought to work out of the box. Opening an issue here to track upstreams.
Fairly extensive discussion at https://github.com/babel/karma-babel-preprocessor/issues/4