Jest Mock Implementation Is Not A Function