To override an existing property, call jest.spyOn(object, property). To set a return value, call spy.mockReturnValue(). You can also pass this value ...
確定! 回上一頁