diff options
Diffstat (limited to 'tests/lib/common.js')
-rw-r--r-- | tests/lib/common.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/lib/common.js b/tests/lib/common.js index 7d3b3db2a..dbb9eea8b 100644 --- a/tests/lib/common.js +++ b/tests/lib/common.js @@ -1,7 +1,8 @@ define( [ "qunit", - "jquery" ], -function( QUnit, $ ) { + "jquery", + "lib/helper" +], function( QUnit, $, helper ) { var exports = {}; @@ -66,7 +67,7 @@ function testBasicUsage( widget ) { } exports.testWidget = function( widget, settings ) { - QUnit.module( widget + ": common widget" ); + QUnit.module( widget + ": common widget", { afterEach: helper.moduleAfterEach } ); exports.testJshint( "/widgets/" + widget ); testWidgetDefaults( widget, settings.defaults ); |