Please don't mock SWR, Fetch or Axios in your unit/integration tests. In this video you will learn how to test components that use "useSWR" ...
確定! 回上一頁