aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/droppable
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/droppable')
-rw-r--r--tests/unit/droppable/core.js5
-rw-r--r--tests/unit/droppable/events.js5
-rw-r--r--tests/unit/droppable/methods.js5
-rw-r--r--tests/unit/droppable/options.js5
4 files changed, 12 insertions, 8 deletions
diff --git a/tests/unit/droppable/core.js b/tests/unit/droppable/core.js
index 3d41e5db8..80764711e 100644
--- a/tests/unit/droppable/core.js
+++ b/tests/unit/droppable/core.js
@@ -1,11 +1,12 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/droppable"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
-QUnit.module( "droppable: core" );
+QUnit.module( "droppable: core", { afterEach: helper.moduleAfterEach } );
QUnit.test( "element types", function( assert ) {
var typeNames = ( "p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form" +
diff --git a/tests/unit/droppable/events.js b/tests/unit/droppable/events.js
index 8ccd7c87c..734aee1db 100644
--- a/tests/unit/droppable/events.js
+++ b/tests/unit/droppable/events.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/droppable"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "droppable: events" );
+QUnit.module( "droppable: events", { afterEach: helper.moduleAfterEach } );
QUnit.test( "droppable destruction/recreation on drop event", function( assert ) {
assert.expect( 1 );
diff --git a/tests/unit/droppable/methods.js b/tests/unit/droppable/methods.js
index 433615d16..3a078224a 100644
--- a/tests/unit/droppable/methods.js
+++ b/tests/unit/droppable/methods.js
@@ -1,11 +1,12 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"./helper",
"ui/widgets/droppable"
-], function( QUnit, $, testHelper ) {
+], function( QUnit, $, helper, testHelper ) {
-QUnit.module( "droppable: methods" );
+QUnit.module( "droppable: methods", { afterEach: helper.moduleAfterEach } );
QUnit.test( "init", function( assert ) {
assert.expect( 5 );
diff --git a/tests/unit/droppable/options.js b/tests/unit/droppable/options.js
index 1c164495b..560de09fe 100644
--- a/tests/unit/droppable/options.js
+++ b/tests/unit/droppable/options.js
@@ -1,10 +1,11 @@
define( [
"qunit",
"jquery",
+ "lib/helper",
"ui/widgets/droppable"
-], function( QUnit, $ ) {
+], function( QUnit, $, helper ) {
-QUnit.module( "droppable: options" );
+QUnit.module( "droppable: options", { afterEach: helper.moduleAfterEach } );
/*
Test( "{ accept '*' }, default ", function() {