fix(jest-mock): improve user input validation and error messages of spyOn
and replaceProperty
methods#14087
Merged
SimenB merged 4 commits intojestjs:main from mrazauskas:mock-validation-and-messagesApr 20, 2023
+287-84