aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/widget/classes.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/widget/classes.js')
-rw-r--r--tests/unit/widget/classes.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/widget/classes.js b/tests/unit/widget/classes.js
index 28f61f272..357283b5e 100644
--- a/tests/unit/widget/classes.js
+++ b/tests/unit/widget/classes.js
@@ -1,8 +1,9 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widget"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
QUnit.module( "widget factory classes", {
beforeEach: function() {
@@ -50,6 +51,7 @@ QUnit.module( "widget factory classes", {
_destroy: function() {
this.span.remove();
this.element.unwrap();
+ return helper.moduleAfterEach.apply( this, arguments );
}
} );
},