aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/progressbar')
-rw-r--r--tests/unit/progressbar/core.js5
-rw-r--r--tests/unit/progressbar/events.js5
-rw-r--r--tests/unit/progressbar/methods.js5
-rw-r--r--tests/unit/progressbar/options.js5
4 files changed, 12 insertions, 8 deletions
diff --git a/tests/unit/progressbar/core.js b/tests/unit/progressbar/core.js
index b25032a40..cf9d0aba3 100644
--- a/tests/unit/progressbar/core.js
+++ b/tests/unit/progressbar/core.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/progressbar"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "progressbar: core" );
+QUnit.module( "progressbar: core", { afterEach: helper.moduleAfterEach } );
QUnit.test( "markup structure", function( assert ) {
assert.expect( 7 );
diff --git a/tests/unit/progressbar/events.js b/tests/unit/progressbar/events.js
index be43378a7..e1b33f0b2 100644
--- a/tests/unit/progressbar/events.js
+++ b/tests/unit/progressbar/events.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/progressbar"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "progressbar: events" );
+QUnit.module( "progressbar: events", { afterEach: helper.moduleAfterEach } );
QUnit.test( "create", function( assert ) {
assert.expect( 1 );
diff --git a/tests/unit/progressbar/methods.js b/tests/unit/progressbar/methods.js
index 515549372..8f168f786 100644
--- a/tests/unit/progressbar/methods.js
+++ b/tests/unit/progressbar/methods.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/progressbar"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "progressbar: methods" );
+QUnit.module( "progressbar: methods", { afterEach: helper.moduleAfterEach } );
QUnit.test( "destroy", function( assert ) {
assert.expect( 1 );
diff --git a/tests/unit/progressbar/options.js b/tests/unit/progressbar/options.js
index 7ad4c2603..fa88ae3c2 100644
--- a/tests/unit/progressbar/options.js
+++ b/tests/unit/progressbar/options.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/progressbar"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "progressbar: options" );
+QUnit.module( "progressbar: options", { afterEach: helper.moduleAfterEach } );
QUnit.test( "{ value: 0 }, default", function( assert ) {
assert.expect( 1 );