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);
});
});
});
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);
});
});
});