Powered by
I want to mock a hook (component testing)
# i-need-help
a
alert-tiger-26761
03/08/2023, 2:30 AM
import { useGetUsersByCompany } from "@/api/user/use-get-users-by-company"; I have this hook in the component that i'm testing, I want to mock the return value of it. Using cypress component testing
3
Views
Previous
Next