If you change the mocking method and then you cast, you could avoid the ignore comment:
jest.spyOn(Auth, 'currentSession').mockReturnValue({ getIdToken: () => ({ getJwtToken: () => 'mock', }), } as unknown as Promise<CognitoUserSession>)