aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button_common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/button/button_common.js')
-rw-r--r--tests/unit/button/button_common.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unit/button/button_common.js b/tests/unit/button/button_common.js
index 1564a1bee..d376f4f05 100644
--- a/tests/unit/button/button_common.js
+++ b/tests/unit/button/button_common.js
@@ -1,4 +1,9 @@
-TestHelpers.commonWidgetTests( "button", {
+define( [
+ "lib/common",
+ "ui/button"
+], function( common ) {
+
+common.testWidget( "button", {
defaults: {
classes: {},
disabled: null,
@@ -13,3 +18,5 @@ TestHelpers.commonWidgetTests( "button", {
create: null
}
});
+
+} );