Unable to catch error thrown inside a React component when testing with testing-library

前端 未结 0 714
忘掉有多难
忘掉有多难 2020-12-03 17:53

Component to test

function ShopStatsConsumer({ shopId, shopName }) {
  return (
    
      {(context) =>          


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