title: Meaning of function coverage in Jest
body: <p>Here is the output from running <code>jest</code> on one of my components:</p>
  <pre><code>----------------------------|---------|----------|---------|---------|-------------------
  File                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
  ----------------------------|---------|----------|---------|---------|-------------------
  All files                   |     100 |      100 |      50 |     100 |                   
   search-suggestion-base.tsx |     100 |      100 |      50 |     100 |                   
  ----------------------------|---------|----------|---------|---------|-------------------
  ...
  Jest: &quot;global&quot; coverage threshold for functions (100%) not met: 50%
  </code></pre>
  <p>Note that <code>% Funcs</code> is not 100 and the test fails. (The coverage threshold is not set by me. I wouldn't have set such a high threshold.)</p>
  <p>The problem is, Jest is not telling me which are the uncovered lines. Besides, I'm also having trouble figuring out what's the meaning of <code>% Funcs</code>. I can't even find the official documentation for this <code>% Funcs</code>.</p>
  <p>Any help is appreciated!</p>