I would like to ask you about jest.spyOn. In your course you have mentioned that spyOn does replace original implementation with an empty mock function. According to Jest's documentation and my own experience with using that function it doesn't by default. Was that a mistake :)?
Hi Kent!
I would like to ask you about
jest.spyOn
. In your course you have mentioned thatspyOn
does replace original implementation with an empty mock function. According to Jest's documentation and my own experience with using that function it doesn't by default. Was that a mistake :)?Cheers and thank you for your awesome job!