React Query - Unit Test `staleTime` with jest

后端 未结 0 1897
囚心锁ツ
囚心锁ツ 2020-11-27 12:22

Does anyone have an elegant solution to testing out a component that uses staleTime as a prop? I want to run a test that asserts on isStale propert

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