rem: var x = $("#foo"); ok( x.is(":visible") ); x.toggle(); ok( x.is(":hidden") ); x.toggle(); ok( x.is(":visible") ); 
add: stop(); reset();  var foo = $("#foo")[0]; var h = foo.style.height;  $("#foo").slideUp(1000); setTimeout(function(){ var nh = foo.style.height; ok( nh != h, "An animation occurred " + nh + " " + h ); $("#foo").stop();  nh = foo.style.height; ok( nh != h, "Stop didn't reset the animation " + nh + " " + h ); setTimeout(function(){ equals( nh, foo.style.height, "The animation didn't continue" ); start(); }, 100); }, 100); 
context: test("toggle()", function() {	expect(3);	var x = $("#foo");	ok( x.is(":visible") );	x.toggle();	ok( x.is(":hidden") );	x.toggle();	ok( x.is(":visible") );});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/1d299d375b6d97d65559286d914df2d5a77949db/fx.js/buggy/test/unit/fx.js