diff options
Diffstat (limited to 'tests/unit/position/core.js')
-rw-r--r-- | tests/unit/position/core.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/position/core.js b/tests/unit/position/core.js index 42615a787..80992a311 100644 --- a/tests/unit/position/core.js +++ b/tests/unit/position/core.js @@ -2,8 +2,9 @@ define( [ "qunit", "jquery", "lib/common", + "lib/helper", "ui/position" -], function( QUnit, $, common ) { +], function( QUnit, $, common, helper ) { var win = $( window ), scrollTopSupport = function() { @@ -18,7 +19,8 @@ var win = $( window ), QUnit.module( "position", { beforeEach: function() { win.scrollTop( 0 ).scrollLeft( 0 ); - } + }, + afterEach: helper.moduleAfterEach } ); common.testJshint( "position" ); |