You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Jest 20, ts-jest no longer does code coverage mapping for TypeScript projects. Instead, it's recommended to use Jest's mapCoverage option.
Given Razzle does not currently support passing mapCoverage to Jest, code coverage output can be incorrect for TypeScript projects.
Example:
The simplest solution I can see is to just add mapCoverage to supportedKeys in createJestConfig, unless that would cause some other issue, but it appears to work just fine.
After editing createJestConfig to allow mapCoverage: true:
The text was updated successfully, but these errors were encountered:
Since Jest 20, ts-jest no longer does code coverage mapping for TypeScript projects. Instead, it's recommended to use Jest's
mapCoverage
option.Given Razzle does not currently support passing
mapCoverage
to Jest, code coverage output can be incorrect for TypeScript projects.Example:
The simplest solution I can see is to just add
mapCoverage
tosupportedKeys
in createJestConfig, unless that would cause some other issue, but it appears to work just fine.After editing createJestConfig to allow
mapCoverage: true
:The text was updated successfully, but these errors were encountered: