Merge branch 'dev' into #2344-ticket-sale--descuento--al-usuario
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2020-06-30 13:25:33 +02:00
commit f57e332503
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ describe('component vnZoneCalendar', () => {
describe('step()', () => {
it('should set the date month to 4 months backwards', () => {
const now = new Date();
now.setDate(15);
now.setMonth(now.getMonth() - 4);
controller.step(-1);
@ -45,6 +46,7 @@ describe('component vnZoneCalendar', () => {
it('should set the date month to 4 months forwards', () => {
const now = new Date();
now.setDate(15);
now.setMonth(now.getMonth() + 4);
controller.step(1);