Mock vs Spy in Testing with Jest: Which is Better?