better wording
This commit is contained in:
parent
bf20ad9e61
commit
9e8fc76623
2
dist/npmts.tests.js
vendored
2
dist/npmts.tests.js
vendored
@ -47,7 +47,7 @@ var coverage = function (configArg) {
|
|||||||
plugins.smartcov.get.percentage(plugins.path.join(paths.coverageDir, "lcov.info"))
|
plugins.smartcov.get.percentage(plugins.path.join(paths.coverageDir, "lcov.info"))
|
||||||
.then(function (percentageArg) {
|
.then(function (percentageArg) {
|
||||||
if (percentageArg >= configArg.coverageTreshold) {
|
if (percentageArg >= configArg.coverageTreshold) {
|
||||||
plugins.beautylog.ok("your coverage of " + percentageArg + "% " + "is within your treshold of " +
|
plugins.beautylog.ok("your coverage of " + percentageArg + "% " + "exceeds your treshold of " +
|
||||||
configArg.coverageTreshold + "%");
|
configArg.coverageTreshold + "%");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -51,7 +51,7 @@ let coverage = function(configArg){
|
|||||||
.then(function(percentageArg){
|
.then(function(percentageArg){
|
||||||
if (percentageArg >= configArg.coverageTreshold){
|
if (percentageArg >= configArg.coverageTreshold){
|
||||||
plugins.beautylog.ok(
|
plugins.beautylog.ok(
|
||||||
"your coverage of " + percentageArg + "% " + "is within your treshold of " +
|
"your coverage of " + percentageArg + "% " + "exceeds your treshold of " +
|
||||||
configArg.coverageTreshold + "%"
|
configArg.coverageTreshold + "%"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user