mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-19 16:50:36 +03:00
refactor: remove date-fns && optimize code
This commit is contained in:
@@ -11,7 +11,8 @@ describe('TableMonth', () => {
|
||||
it('correct render', () => {
|
||||
wrapper = mount(TableMonth, {
|
||||
propsData: {
|
||||
getClasses: month => {
|
||||
calendar: new Date(2019, 9, 1, 0, 0, 0),
|
||||
getCellClasses: month => {
|
||||
if (month === 9) {
|
||||
return 'active';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user