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

Karma hangs if CoffeeScript preprocessor finds an error #752

Closed
selivanovm opened this issue Sep 23, 2013 · 1 comment
Closed

Karma hangs if CoffeeScript preprocessor finds an error #752

selivanovm opened this issue Sep 23, 2013 · 1 comment

Comments

@selivanovm
Copy link

The whole test run hangs when there are any syntactic error in my coffeescript test. Here is the log output:

DEBUG [plugin]: Loading plugin karma-jasmine.
DEBUG [plugin]: Loading plugin karma-chrome-launcher.
DEBUG [plugin]: Loading plugin karma-remote-reporter.
DEBUG [plugin]: Loading plugin karma-coffee-preprocessor.
DEBUG [plugin]: Loading inlined plugin (defining ).
INFO [karma]: Karma v0.10.2 server started at http://localhost:9876/
DEBUG [preprocessor.coffee]: Processing "/home/user/work/project/web-app/js/app.coffee".
DEBUG [preprocessor.coffee]: Processing "/home/user/work/project/web-app/js/filters.coffee".
DEBUG [preprocessor.coffee]: Processing "/home/user/work/project/test/javascript/unit/filtersSpec.coffee".
ERROR [preprocessor.coffee]: unmatched )
  at /home/user/work/project/test/javascript/unit/filtersSpec.coffee
@vojtajina
Copy link
Contributor

You are correct, when a preprocessor fails. Karma should cancel the build, not even run.

Duplicate of #550.

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

2 participants