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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can this plugin comment on more than one jest project in a single PR?
Specifically, I'd like to display the code coverage for my unit tests and integration tests separately in a single PR.
Thanks!
module.exports = {
projects: [
{
displayName: 'unit',
...
collectCoverageFrom: [
'/*.ts',
'!test//',
],
coverageThreshold: {
global: {
branches: 7,
functions: 25,
lines: 23,
statements: 22,
},
},
},
{
displayName: 'integration',
...
collectCoverageFrom: [
'**/.ts',
'!test/**/*',
],
coverageThreshold: {
global: {
branches: 27,
functions: 62,
lines: 46,
statements: 44,
},
},
},
],
};
Beta Was this translation helpful? Give feedback.
All reactions