Preventing “not wrapped in act(…)” Jest warning when state update doesn't affect UI

后端 未结 0 1954
感动是毒
感动是毒 2021-02-20 01:52

I\'m trying to figure out if there is a way to prevent the "not wrapped in act(...)" warning thrown by Jest/testing-library when I have nothing to assert after the sta

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