it("should call reset after form submitted", ()=> {
      let props = setup();
      props={
        ...props,
        location: {