I am wrtiting a project using TypeScript, Jest and the ts-jest NPM module.

When I run my test, I do get some amount of coverage, but the HTML report is not quite right:

Furthermore, some functions are being marked as untested even though they are certainly being called.

My package.json is set as follows:

{ "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "testResultsProcessor": "<rootDir>/node_modules/ts-jest/coverageprocessor.js", "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.{ts,tsx}" ], "coverageReporters": [ "html", "json" ] } }

Is something wrong with my configuration?