I can't use spyOn because I want to have direct control over the mock: But how do you spy on the object methods? And return a value? const spy = jest.
確定! 回上一頁