aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tabs')
-rw-r--r--tests/unit/tabs/core.js5
-rw-r--r--tests/unit/tabs/events.js5
-rw-r--r--tests/unit/tabs/methods.js5
-rw-r--r--tests/unit/tabs/options.js5
4 files changed, 12 insertions, 8 deletions
diff --git a/tests/unit/tabs/core.js b/tests/unit/tabs/core.js
index 0716160bb..49496dc37 100644
--- a/tests/unit/tabs/core.js
+++ b/tests/unit/tabs/core.js
@@ -1,13 +1,14 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/tabs"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
var state = testHelper.state;
-QUnit.module( "tabs: core" );
+QUnit.module( "tabs: core", { afterEach: helper.moduleAfterEach } );
QUnit.test( "markup structure", function( assert ) {
assert.expect( 20 );
diff --git a/tests/unit/tabs/events.js b/tests/unit/tabs/events.js
index 757e2bada..9f7e92d8f 100644
--- a/tests/unit/tabs/events.js
+++ b/tests/unit/tabs/events.js
@@ -1,13 +1,14 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/tabs"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
var state = testHelper.state;
-QUnit.module( "tabs: events" );
+QUnit.module( "tabs: events", { afterEach: helper.moduleAfterEach } );
QUnit.test( "create", function( assert ) {
assert.expect( 10 );
diff --git a/tests/unit/tabs/methods.js b/tests/unit/tabs/methods.js
index 138f84fca..c67d76a31 100644
--- a/tests/unit/tabs/methods.js
+++ b/tests/unit/tabs/methods.js
@@ -1,14 +1,15 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/tabs"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
var disabled = testHelper.disabled,
state = testHelper.state;
-QUnit.module( "tabs: methods" );
+QUnit.module( "tabs: methods", { afterEach: helper.moduleAfterEach } );
QUnit.test( "destroy", function( assert ) {
assert.expect( 2 );
diff --git a/tests/unit/tabs/options.js b/tests/unit/tabs/options.js
index 373503843..8414f7976 100644
--- a/tests/unit/tabs/options.js
+++ b/tests/unit/tabs/options.js
@@ -1,15 +1,16 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/tabs"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
var disabled = testHelper.disabled,
equalHeight = testHelper.equalHeight,
state = testHelper.state;
-QUnit.module( "tabs: options" );
+QUnit.module( "tabs: options", { afterEach: helper.moduleAfterEach } );
QUnit.test( "{ active: default }", function( assert ) {
assert.expect( 6 );