Add some resize event tests.
This commit is contained in:
parent
1dee0d2ed8
commit
c00a6ff1f1
|
@ -1829,6 +1829,14 @@ test("Non DOM element events", function() {
|
||||||
jQuery(o).trigger('nonelementobj');
|
jQuery(o).trigger('nonelementobj');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test("window resize", function() {
|
||||||
|
expect(1);
|
||||||
|
|
||||||
|
jQuery(window).bind("resize", function(){
|
||||||
|
ok( true, "Resize event fired." );
|
||||||
|
}).resize().unbind("resize");
|
||||||
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
test("jQuery(function($) {})", function() {
|
test("jQuery(function($) {})", function() {
|
||||||
stop();
|
stop();
|
||||||
|
|
Loading…
Reference in a new issue