aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tabs/common.js')
-rw-r--r--tests/unit/tabs/common.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/unit/tabs/common.js b/tests/unit/tabs/common.js
new file mode 100644
index 000000000..d3aa5cd48
--- /dev/null
+++ b/tests/unit/tabs/common.js
@@ -0,0 +1,31 @@
+define( [
+ "lib/common",
+ "ui/tabs"
+], function( common ) {
+
+common.testWidget( "tabs", {
+ defaults: {
+ active: null,
+ classes: {
+ "ui-tabs": "ui-corner-all",
+ "ui-tabs-nav": "ui-corner-all",
+ "ui-tab": "ui-corner-top",
+ "ui-tabs-panel": "ui-corner-bottom"
+ },
+ collapsible: false,
+ disabled: false,
+ event: "click",
+ heightStyle: "content",
+ hide: null,
+ show: null,
+
+ // callbacks
+ activate: null,
+ beforeActivate: null,
+ beforeLoad: null,
+ create: null,
+ load: null
+ }
+});
+
+} );