What about a unit test for this hook? A basic test would look like the following: import { renderHook } from "@testing-library/react-hooks"; ...
確定! 回上一頁