Skip to content

Commit

Permalink
Deferred: Add test for exceptionHook
Browse files Browse the repository at this point in the history
Ref #262
Closes #265
  • Loading branch information
dmethvin committed Sep 8, 2017
1 parent fa41069 commit 3759b66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/deferred.js
@@ -1,6 +1,13 @@

QUnit.module( "deferred" );

QUnit.test( "jQuery.Deferred.exceptionHook", function( assert ) {
assert.expect( 1 );

// Make sure our shimming didn't clobber the default hook
assert.ok ( typeof jQuery.Deferred.exceptionHook === "function", "hook is present" );
} );

QUnit.test( ".pipe() warnings", function( assert ) {
assert.expect( 4 );

Expand Down

0 comments on commit 3759b66

Please sign in to comment.