assuming that UserModel is a mongoose model instance, you can probably do something along the lines of:
UserModel
jest.spyOn(UserModel, 'findOne').mockReturnValue(Promise.resolve({ email: "test@gmail.com" }))
Some jest references: