aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/calendar/common.js
blob: 8b8f40f73f35f8e2d53586ca35e745895727b0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
define( [
	"lib/common",
	"ui/widgets/calendar",
	"globalize-locales"
], function( common ) {

common.testWidget( "calendar", {
	defaults: {
		buttons: [],
		classes: {},
		disabled: false,
		dateFormat: { date: "short" },
		eachDay: $.noop,
		labels: {
			"datePickerRole": "date picker",
			"nextText": "Next",
			"prevText": "Prev",
			"weekHeader": "Wk"
		},
		locale: "en",
		max: null,
		min: null,
		numberOfMonths: 1,
		showWeek: false,
		value: null,

		// callbacks
		create: null,
		select: null
	}
} );

} );