title: Mocking useTranslation for i18n in JEST not working
body: <p>My react component uses translations from i18next and I'm trying to create tests for it using JEST. However, nothing is getting translated and I have tried mocking the useTranslation function below:</p>
  
  <pre><code>const useMock : any = [(k: any) =&gt; k, {}];
  useMock.t = (k: any) =&gt; k;
  useMock.i18n = {};
  
  jest.mock('react-i18next', () =&gt; ({
    // this mock makes sure any components using the translate HoC receive the t function as a prop
    /* tslint:disable-next-line:variable-name */
    useTranslation: () =&gt; useMock,
  }));
  </code></pre>
  
  <p>What am I doing wrong?</p>