Skip to content
Permalink
Browse files

Add some resize event tests.

  • Loading branch information...
jeresig committed Oct 11, 2010
1 parent 1dee0d2 commit c00a6ff1f14609bb166346a7f0c5174f4b0aa47b
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/unit/event.js
@@ -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();

0 comments on commit c00a6ff

Please sign in to comment.
You can’t perform that action at this time.