diff options
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index a197b6f04..65e4a49b3 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -1,6 +1,6 @@ if ( jQuery.css ) { -QUnit.module( "css", { teardown: moduleTeardown } ); +QUnit.module( "css", { afterEach: moduleTeardown } ); QUnit.test( "css(String|Hash)", function( assert ) { assert.expect( 42 ); @@ -1503,8 +1503,8 @@ QUnit.test( "Reset the style if set to an empty string", function( assert ) { QUnit.test( "Clearing a Cloned Element's Style Shouldn't Clear the Original Element's Style (#8908)", - 24, function( assert ) { + assert.expect( 24 ); var done = assert.async(); var styles = [ { name: "backgroundAttachment", |