From 6b424349a85f59088134ae7c8175605a893392cf Mon Sep 17 00:00:00 2001 From: Konrad Schultz Date: Mon, 22 Jan 2018 15:48:55 -0800 Subject: [PATCH] fix tests that relied on month depending on value --- test/daypickerinput/events.js | 4 ++-- test/daypickerinput/rendering.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/daypickerinput/events.js b/test/daypickerinput/events.js index c948ddf67a..dc269197a3 100644 --- a/test/daypickerinput/events.js +++ b/test/daypickerinput/events.js @@ -251,7 +251,7 @@ describe('DayPickerInput', () => { value="2017-11-8" clickUnselectsDay dayPickerProps={{ - month: new Date(2017, 1), + month: new Date(2017, 10), selectedDays: new Date(2017, 10, 8), }} /> @@ -271,7 +271,7 @@ describe('DayPickerInput', () => { value="2017-11-8" clickUnselectsDay dayPickerProps={{ - month: new Date(2017, 1), + month: new Date(2017, 10), selectedDays: [new Date(2017, 10, 8), new Date(2017, 10, 7)], }} /> diff --git a/test/daypickerinput/rendering.js b/test/daypickerinput/rendering.js index 2f0908913b..8d8eb45ed2 100644 --- a/test/daypickerinput/rendering.js +++ b/test/daypickerinput/rendering.js @@ -145,7 +145,7 @@ describe('DayPickerInput', () => { it("should update the displayed month when `dayPickerProps.month`'s month is updated", () => { const wrapper = mount( ); @@ -163,7 +163,7 @@ describe('DayPickerInput', () => { it("should update the displayed month when `dayPickerProps.month`'s year is updated", () => { const wrapper = mount( );