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
// Thresholds specified as a positive number are taken to be the minimum percentage required.
103
105
elseif(actual.pct<expected){
104
-
failedThresholds.push(
105
-
`${color.red('Error')}: Coverage for ${name}${color.red(`${actual.pct}%`)} does not meet ${type==='global' ? 'global' : `"${type}"`} threshold ${color.yellow(`${expected}%`)}`,
106
-
);
106
+
errorMsg+=`coverage for ${name}${color.red(`${actual.pct}%`)} does not meet ${type==='global' ? 'global' : `"${type}"`} threshold ${color.yellow(`${expected}%`)}`;
0 commit comments