It's called React Hooks Testing Library. Let's swap our setup function for the renderHook function from @testing-library/react-hooks.
確定! 回上一頁