[Solution found!] 改变.mockReturnValue带.mockImplementation: yourMockInstance.mockImplementation(() => { throw new Error(); });
確定! 回上一頁