React Testing Library / Redux - How to mock cookies?

后端 未结 0 568
青春惊慌失措
青春惊慌失措 2021-01-25 06:43

Issue

I\'m able to mock the cookie in Jest, but it won\'t change the state of my components once the cookie is mocked.

For exampl

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