From 8d9aa015c18e85f1f0aee1159e7928183483a5fd Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 17 Feb 2009 17:22:59 +0000 Subject: [PATCH] Changed the currentTarget test - no need to test the native event triggering for this test. --- test/unit/event.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/unit/event.js b/test/unit/event.js index f111c07e..2ba25617 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -418,7 +418,7 @@ test("trigger(eventObject, [data], [fn])", function() { }); test("jQuery.Event.currentTarget", function(){ - expect(2); + expect(1); var counter = 0, $elem = jQuery('').click(function(e){ @@ -427,8 +427,6 @@ test("jQuery.Event.currentTarget", function(){ // Fake event $elem.trigger('click'); - // Native event (#4033) - triggerEvent( $elem[0], 'click' ); // Cleanup $elem.unbind();