Skip to content

Commit 6eba066

Browse files
committed
Adds unit test to exhibit #10952
1 parent 3f88249 commit 6eba066

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/callbacks.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jQuery.each( tests, function( flags, resultString ) {
3939

4040
test( "jQuery.Callbacks( \"" + flags + "\" ) - " + filterLabel, function() {
4141

42-
expect( 19 );
42+
expect( 20 );
4343

4444
// Give qunit a little breathing room
4545
stop();
@@ -56,6 +56,7 @@ jQuery.each( tests, function( flags, resultString ) {
5656
});
5757
cblist.fire( "A" );
5858
strictEqual( output, "XA", "Basic binding and firing" );
59+
strictEqual( cblist.fired(), true, ".fired() detects firing" );
5960
output = "X";
6061
cblist.disable();
6162
cblist.add(function( str ) {

0 commit comments

Comments
 (0)