aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/common-deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/button/common-deprecated.js')
-rw-r--r--tests/unit/button/common-deprecated.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/unit/button/common-deprecated.js b/tests/unit/button/common-deprecated.js
new file mode 100644
index 000000000..1441d3a8a
--- /dev/null
+++ b/tests/unit/button/common-deprecated.js
@@ -0,0 +1,27 @@
+define( [
+ "lib/common",
+ "ui/button"
+], function( common ) {
+
+common.testWidget( "button", {
+ defaults: {
+ classes: {
+ "ui-button": "ui-corner-all"
+ },
+ disabled: null,
+ icon: null,
+ iconPosition: "beginning",
+ icons: {
+ primary: null,
+ secondary: null
+ },
+ label: null,
+ showLabel: true,
+ text: true,
+
+ // Callbacks
+ create: null
+ }
+} );
+
+} );