Summary: In the upcoming Jest version `genMockFunction` and `genMockFn` are deprecated, so we need to kill them. Reviewed By: rafeca Differential Revision: D8107155 fbshipit-source-id: 4f46ab58e6e34224eb95e9355385da44f005ea94