aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/offset.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/offset.js')
-rw-r--r--test/unit/offset.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js
index 61f762eea..92b7aff2f 100644
--- a/test/unit/offset.js
+++ b/test/unit/offset.js
@@ -46,7 +46,7 @@ var supportsFixedPosition, supportsScroll, alwaysScrollable,
);
};
-QUnit.module( "offset", { setup: function( assert ) {
+QUnit.module( "offset", { beforeEach: function( assert ) {
if ( typeof checkSupport === "function" ) {
checkSupport( assert );
}
@@ -56,7 +56,7 @@ QUnit.module( "offset", { setup: function( assert ) {
forceScroll.appendTo( "body" );
window.scrollTo( 1, 1 );
forceScroll.detach();
-}, teardown: moduleTeardown } );
+}, afterEach: moduleTeardown } );
QUnit.test( "empty set", function( assert ) {
assert.expect( 2 );