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

Exit with error code on any script errors #64

Closed
cmc333333 opened this issue May 31, 2013 · 1 comment
Closed

Exit with error code on any script errors #64

cmc333333 opened this issue May 31, 2013 · 1 comment

Comments

@cmc333333
Copy link

We're running into the same issue as described in jasmine-contrib/grunt-jasmine-runner#20

Running $ grunt jasmine, we get:

Running "jasmine:all" (jasmine) task
Testing jasmine specs via phantom
>> TypeError: 'undefined' is not an object (evaluating '$('#sub-head')[0].offsetTop') at
[snip snip]
...............
15 specs in 0.15s.
>> 0 failures

Done, without errors.

The execution has the error code 0, so external tools (e.g. Travis) don't see than an error has occurred.

@Igloczek
Copy link

@jsoverson I don't get why it's closed without any comment, but I'm facing the same issue and looking for some solution.

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

2 participants