We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770f63c commit b450e49Copy full SHA for b450e49
test/unit/specs/Datepicker.spec.js
@@ -498,6 +498,20 @@ describe('Datepicker highlight date', () => {
498
expect(vm.isHighlightedDate(new Date(2016, 12, 5))).to.equal(false)
499
})
500
501
+ it('should highlight a disabled date when explicitly configured to', () => {
502
+ vm = getViewModel(Datepicker, {
503
+ highlighted: {
504
+ to: new Date(2016, 12, 8),
505
+ from: new Date(2016, 12, 4),
506
+ includeDisabled: true
507
+ },
508
+ disabled: {
509
+ dates: [ new Date(2016, 12, 5) ]
510
+ }
511
+ })
512
+ expect(vm.isHighlightedDate(new Date(2016, 12, 5))).to.equal(true)
513
514
+
515
it('should highlight a date before the to property', () => {
516
expect(vm.isHighlightedDate(new Date(2016, 12, 7))).to.equal(true)
517
0 commit comments