This demonstrates a scenario where missing function coverage is reported without a line number.
yarn install; yarn test
----------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------|---------|----------|---------|---------|-------------------
All files | 88.88 | 100 | 83.33 | 100 |
LocalFunctionCall.ts | 88.88 | 100 | 83.33 | 100 |
----------------------|---------|----------|---------|---------|-------------------
Jest: "global" coverage threshold for statements (100%) not met: 88.88%
Jest: "global" coverage threshold for functions (100%) not met: 83.33%
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.876 s, estimated 1 s
Ran all test suites.
----------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------|---------|----------|---------|---------|-------------------
All files | 88.88 | 100 | 83.33 | 100 |
LocalFunctionCall.ts | 88.88 | 100 | 83.33 | 100 | 32
----------------------|---------|----------|---------|---------|-------------------
Jest: "global" coverage threshold for statements (100%) not met: 88.88%
Jest: "global" coverage threshold for functions (100%) not met: 83.33%
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.876 s, estimated 1 s
Ran all test suites.