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

Fix problem with unit tests and update jQuery dependency #54

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sjamaan
Copy link

@sjamaan sjamaan commented Jan 16, 2015

I had a jQuery version conflict in my application (which used jQuery 2.1) due to jquery-serialize-object having a hard dependency on jQuery 1.8. After updating the bower file and running the tests they all still pass. It seems that you're not using any particular jQuery features that have been changed, so I've just made the selector a lot less strict.

I also ran into a problem with npm: uglify-js 2.4.32 doesn't seem to exist, the latest published version I could find was 2.4.16.

To run the tests, I had to make another change because I got an obscure error message "Couldn't get a file descriptor referring to the console", which was due to the fact that under GNU/Linux (at least Debian and Ubuntu), "open" refers to "openvt", which requires a virtual terminal (on the physical console, so an xterm is not accepted). The fix is to use xdg-open. However, this may break the test runner on OS X, so perhaps some kind of dispatching script is a better solution. See
cilindrox/explain_shell@bbc2d2c for example.

Peter Bex added 3 commits January 16, 2015 09:35
At least on Debian, "open" is an alias for "openvt", which results in
the error "Couldn't get a file descriptor referring to the console".
The version doesn't matter so much because it doesn't use much core
functionality.  Tests still all pass with latest jQuery 2.1.3.
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

Successfully merging this pull request may close these issues.

1 participant