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

jQuery effects hang tests running under rhino #29

Open
jonah-williams opened this issue Dec 17, 2009 · 2 comments
Open

jQuery effects hang tests running under rhino #29

jonah-williams opened this issue Dec 17, 2009 · 2 comments

Comments

@jonah-williams
Copy link

A test which includes multiple jQuery effects calls will cause rhino to hang after executing that test. The test may run and report that it completed successfully but since that rhino instance does not terminate the rest of the test suite will not execute.

For example:
Screw.Unit(function() {
describe("should not hang when applying multiple fade effects", function() {
it("should fade multiple elements", function() {
$("#element1").fadeTo('slow', 0);
$("#element2").fadeTo('slow', 1);
});
});
});

@PhilT
Copy link

PhilT commented Jan 26, 2010

I get this same problem. Tests run fine but never exit unless interrupted with CTRL+C

@jonah-williams
Copy link
Author

Using "jQuery.fx.off = true" to disable effect timing prevents the above test from hanging rhino. I need to continue testing to see if this fixes the similar tests I have encountered.

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