How to mock [removed].href in react jest unit test

后端 未结 0 1154
误落风尘
误落风尘 2021-01-01 09:33

I have a simple redux action creator that sets the document.location.href = "/signin"

My action creator looks like this

export c         


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