Web: Components: delete date-picker onFocus test
This commit is contained in:
parent
108d8c0277
commit
32bdf007ae
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user