React Testing Library / Jest - Mocking cookies for tests

后端 未结 0 906
庸人自扰
庸人自扰 2021-01-22 08:55

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

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