Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a developer, when using a module loader failed tests are not being reported correctly. #45

Closed
IngwiePhoenix opened this issue Dec 24, 2015 · 4 comments

Comments

@IngwiePhoenix
Copy link

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

@tmcgee123
Copy link
Owner

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 tmcgee123 changed the title Stack-/Errortraces? As a developer, when using a module loader failed tests are not being reported correctly. Feb 11, 2016
@tmcgee123 tmcgee123 added this to the Webpack Support milestone Feb 11, 2016
@tmcgee123
Copy link
Owner

@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!!

@tmcgee123
Copy link
Owner

@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

@tmcgee123
Copy link
Owner

Closing since no one else has verified that this is still an issue. I'll re-open if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants