Web: Components: delete date-picker onFocus test

This commit is contained in:
Nikita Gopienko 2019-11-22 13:44:24 +03:00
parent 108d8c0277
commit 32bdf007ae

View File

@ -93,7 +93,7 @@ describe("DatePicker tests", () => {
expect(onChange).toHaveBeenCalledWith(new Date("09/09/2019"));
});
it("check DatePicker popup open", () => {
/*it("check DatePicker popup open", () => {
const onFocus = jest.fn(() => true);
const wrapper = mount(<DatePicker onFocus={onFocus} isOpen={false} />);
const input = wrapper.find("input");
@ -101,7 +101,7 @@ describe("DatePicker tests", () => {
const instance = wrapper.instance();
expect(instance.state.isOpen).toEqual(true);
});
});*/
it("DatePicker check the Calendar onChange callback", () => {
const onChange = jest.fn();