How to update pathname of a React app from Jest/React Testing Library test?

后端 未结 0 1092
谎友^
谎友^ 2020-11-28 14:01

I\'m working on a Next JS application, and am setting some external state in the cleanup function of a useEffect hook:

useEffect(() => () =&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题