You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I use karma-webpack in order to roll my tests through my WebPack config, I urgently need to be able to see backtraces. Because of some preprocessors, lines have an offset, or I get to see the wrong file entirely! But the backtrace itself would solve many, many problems.
That files arent displayed correctly is a karma-webpack thing, fo' sho'. But having no idea where an error is coming from is problematic.
Are you not getting any type of reporting at all? Can you post your karma.config.js please?
Unfortunately, I've never used a webpack before. karma-spec-reporter is a reporter, not a preprocessor. Maybe the preprocessor is altering the stacktrace somehow before it makes it to the reporter?
Any type of information, examples, console output, or further explanations would help a lot! We might need to collaborate to help get this working, I completely understand the need for a solid stacktrace!
tmcgee123
changed the title
Stack-/Errortraces?
As a developer, when using a module loader failed tests are not being reported correctly.
Feb 11, 2016
@IngwiePhoenix have you tried bumping the version that is used in karma-webpack to the latest release? It looks like they are a few versions behind. Let me know if that works!!
@IngwiePhoenix please verify that with the latest karma that you are still not seeing reporting, this was actually a recent defect that was just fixed: karma-runner/karma#1894
Basically, I want them.
Since I use
karma-webpack
in order to roll my tests through my WebPack config, I urgently need to be able to see backtraces. Because of some preprocessors, lines have an offset, or I get to see the wrong file entirely! But the backtrace itself would solve many, many problems.That files arent displayed correctly is a
karma-webpack
thing, fo' sho'. But having no idea where an error is coming from is problematic.How can I get them?
Also... https://lh4.googleusercontent.com/-APYsZ_NfGTc/TsV4umugivI/AAAAAAAAFok/dgi1WC6Aw6c/w800-h800/687474703a2f2f692e696d6775722e636f6d2f6a61636f6a2e6a7067.jpg
The text was updated successfully, but these errors were encountered: