Add explanation about maxStartDate and minEndDate,
Refactor calc max and min functions
This commit is contained in:
@@ -8,6 +8,12 @@ import { makeTestWrapper } from '../../test_utils/component_test_helpers'
|
||||
const PopDateRangeWrapper = makeTestWrapper({
|
||||
components: { PopDateRange },
|
||||
templatePath: 'pop_date_range.html',
|
||||
data: function() {
|
||||
return {
|
||||
initialMinStartDate: '2019-09-14',
|
||||
initialMaxEndDate: '2022-09-14',
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
describe('PopDateRange Test', () => {
|
||||
|
Reference in New Issue
Block a user