mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
0db70aa1fa
move size() test to unit/deprecated; don't use size() in other tests; make 2 unit tests actually fire; code cleanup
9 lines
207 B
JavaScript
9 lines
207 B
JavaScript
module("deprecated", { teardown: moduleTeardown });
|
|
|
|
if ( jQuery.fn.size ) {
|
|
test("size()", function() {
|
|
expect(1);
|
|
equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
|
|
});
|
|
}
|