The data that will be returned should also be mocked, which can be done by invoking the mockReturnValue function, which is available on the mocked function.
確定! 回上一頁