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

If jest fails, result is a JSON parser error #1

Open
RobinDaugherty opened this issue Dec 3, 2018 · 0 comments
Open

If jest fails, result is a JSON parser error #1

RobinDaugherty opened this issue Dec 3, 2018 · 0 comments

Comments

@RobinDaugherty
Copy link
Owner

Since the output from jest is parsed as JSON, if jest fails to run, the result is reported to the user as a failure of guard-jest_runner in the json gem.

Solution is to catch JSON parse failure and display the raw output so the user can troubleshoot the jest issue.

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

No branches or pull requests

1 participant