Jest: How to mock one specific method of a class