The useAxios hook returns an array, whereas your mockImplementation is returning a Promise. const [{ data, loading, error }] = useAxios(/* .
確定! 回上一頁