我是新手,我想模拟一个返回Promise 的函数。我这样做:service.changeBookingAsync = jest.fn()。mockReturnValue(boolean);但我收到此错误: ...
確定! 回上一頁