aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/event.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-02-17 17:22:59 +0000
committerJohn Resig <jeresig@gmail.com>2009-02-17 17:22:59 +0000
commit8d9aa015c18e85f1f0aee1159e7928183483a5fd (patch)
tree00e0fecd97230b30a4b55ec32e4869c98a1a728a /test/unit/event.js
parent80782d958c63bf9a6c5e602e1dc945ae1df20e83 (diff)
downloadjquery-8d9aa015c18e85f1f0aee1159e7928183483a5fd.tar.gz
jquery-8d9aa015c18e85f1f0aee1159e7928183483a5fd.zip
Changed the currentTarget test - no need to test the native event triggering for this test.
Diffstat (limited to 'test/unit/event.js')
-rw-r--r--test/unit/event.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index f111c07e3..2ba256172 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('<button>a</button>').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();