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

Error stack traces should be printed out for syntax errors #2812

Closed
briandipalma opened this issue Aug 18, 2017 · 0 comments · Fixed by karronoli/redpen#10 · May be fixed by Omrisnyk/npm-lockfiles#122 or Omrisnyk/npm-lockfiles#132
Closed

Comments

@briandipalma
Copy link
Contributor

Expected behaviour

Syntax errors that prevent any tests being should have their stack traces printed.

Actual behaviour

Syntax errors that prevent any tests being run don't have their stack traces printed.

Environment Details

  • Karma version (output of karma --version): 1.7.0
  • Relevant part of your karma.config.js file

Steps to reproduce the behaviour

  1. Add nonsense variable lol to the top level of any test module.
  2. Watch it fail.
  3. Feel sadness at the lack of stack trace in the error logging.

PR incoming.

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