Returns a Jest mock function. Note: By default, jest.spyOn also calls the spied method. This is different behavior from most other test libraries.
確定! 回上一頁