Skip to content

Commit

Permalink
Add some resize event tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Oct 11, 2010
1 parent 1dee0d2 commit c00a6ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/unit/event.js
Expand Up @@ -1829,6 +1829,14 @@ test("Non DOM element events", function() {
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() {
stop();
Expand Down

0 comments on commit c00a6ff

Please sign in to comment.