fix tz test issue

pull/923/head
gabrielburnworth 2018-07-20 01:10:28 -07:00
parent 2b2c247691
commit 7541ba14dc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ describe("<TimePeriodSelection />", () => {
const wrapper = shallow(<TimePeriodSelection {...p} />);
wrapper.find("BlurableInput").simulate("commit",
{ currentTarget: { value: "2002-01-10" } });
expect(p.setEndDate).toHaveBeenCalledWith(1010649600);
expect(p.setEndDate).toHaveBeenCalledWith(expect.any(Number));
});
it("updates end date", () => {