title: How to mock react custom hook returned value?
body: <p>Here is my custom hook:</p>
  
  <pre><code>  export function useClientRect() {
      const [scrollH, setScrollH] = useState(0);
      const [clientH, setClientH] = useState(0);
      const ref = useCallback(node =&gt; {
        if (node !== null) {
          setScrollH(node.scrollHeight);
          setClientH(node.clientHeight);
        }
      }, []);
      return [scrollH, clientH, ref];
    }
  }
  </code></pre>
  
  <p>I want each time that it is called, it return my values. like:</p>
  
  <pre><code>jest.mock('useClientRect', () =&gt; [300, 200, () =&gt; {}]);
  </code></pre>
  
  <p>How can I achieve this?</p>