Jest/RTL requiring me to use act() for synchronous code

后端 未结 0 1830
一生所求
一生所求 2021-01-05 13:10

I am trying to write a test for my application that would run through some synchronous code when I render my component with a AuthProvider Wrapper. Currently I am use

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