zy
zy
你好,请问用过axios请求过 http://host:port/api 这样的API吗? 使用http协议得时候,jest会报 Timeout - Async callback was not invoked within the 5000ms timeout specified by jes timeout specified by jest.setTimeout.Error 使用https得时候,会正常通过,请问又配置可以解决这个问题吗?
  是这样的,我这里的request本地使用了http 然后线上测试使用了https 跑jest的时候, https可以通过,但是http就会报timeout 后面是我react-redux的代码和jest:  
Yes, that is difficult to implement.
 Here have the error message call serializeHtml function. how can I do to resolve this error?