How to test a useMediaQuery hook with Jest?

后端 未结 0 1121
余生分开走
余生分开走 2020-12-09 10:26

I am trying to setup Jest to verify behavior tied to a custom useMediaQuery() hook, but I\'m finding that the documented mocks may be interfering.

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