@@ -2130,6 +2130,7 @@ exports.constants = Object.freeze({
2130
2130
SUCCESSFUL_RUN: 0,
2131
2131
WHOLE_TEST_SUITE_SKIPPED: 0,
2132
2132
GREP_SUITE_DID_NOT_MATCH: 0,
2133
+ COULD_NOT_LOAD_A_REPORTER: 48,
2133
2134
FILE_OR_DIRECTORY_DOES_NOT_EXIST: 49,
2134
2135
SUMAN_PRE_NOT_FOUND_IN_YOUR_PROJECT: 50,
2135
2136
SUMAN_HELPER_FILE_DOES_NOT_EXPORT_EXPECTED_FUNCTION: 51,
@@ -32072,11 +32073,11 @@ var chalk = __webpack_require__(83);
32072
32073
exports.getLogger = function (reporterName) {
32073
32074
reporterName = reporterName || 'browser-reporting';
32074
32075
return {
32075
- info: console.log.bind(console, " [suman- " + reporterName + "] "),
32076
- warning: console.error.bind(console, chalk.yellow(" [suman- " + reporterName + "] ")),
32077
- error: console.error.bind(console, chalk.red(" [suman- " + reporterName + "] ")),
32078
- good: console.error.bind(console, chalk.cyan(" [suman- " + reporterName + "] ")),
32079
- veryGood: console.log.bind(console, chalk.green(" [suman- " + reporterName + "] "))
32076
+ info: console.log.bind(console, " [suman @ " + reporterName + "] "),
32077
+ warning: console.error.bind(console, chalk.yellow(" [suman @ " + reporterName + "] ")),
32078
+ error: console.error.bind(console, chalk.red(" [suman @ " + reporterName + "] ")),
32079
+ good: console.error.bind(console, chalk.cyan(" [suman @ " + reporterName + "] ")),
32080
+ veryGood: console.log.bind(console, chalk.green(" [suman @ " + reporterName + "] "))
32080
32081
};
32081
32082
};
32082
32083
@@ -52002,8 +52003,8 @@ module.exports = {
52002
52003
},
52003
52004
52004
52005
watch: {
52005
- options:{
52006
- // incomplete
52006
+ options: {
52007
+ // incomplete
52007
52008
},
52008
52009
per: {
52009
52010
'zoom': {
@@ -52035,8 +52036,10 @@ module.exports = {
52035
52036
},
52036
52037
52037
52038
reporters: {
52038
- // usage: $ suman --reporters tap
52039
- 'tap': 'suman-reporters/modules/tap-reporter' // the value is simply passed to require()
52039
+ // usage: $ suman --reporter=tap
52040
+ map: {
52041
+ 'tap': 'suman-reporters/modules/tap-reporter' // the value is simply passed to require()
52042
+ }
52040
52043
},
52041
52044
52042
52045
servers: { // list of servers to output test result data to, with the os.hostname() as the key
@@ -66240,7 +66243,7 @@ exports.makeDescribe = function (suman, gracefulExit, TestBlock, notifyParentTha
66240
66243
var isAsync = su.isAsyncFn(cb);
66241
66244
if (isGenerator || isAsync) {
66242
66245
var msg = suman_constants_1.constants.ERROR_MESSAGES.INVALID_FUNCTION_TYPE_USAGE;
66243
- console.log('\n\n ' + msg + '\n \n');
66246
+ console.log('\n' + msg + '\n');
66244
66247
console.error(new Error(' => Suman usage error => invalid arrow/generator function usage.').stack);
66245
66248
process.exit(suman_constants_1.constants.EXIT_CODES.INVALID_ARROW_FUNCTION_USAGE);
66246
66249
return;
@@ -68086,7 +68089,7 @@ exports.default = function (s, opts) {
68086
68089
return;
68087
68090
}
68088
68091
if (_suman.inceptionLevel < 1) {
68089
- log.error ("\"" + reporterName + "\" warning: suman inception level is 0, we may not need to load this reporter.");
68092
+ log.warning ("\"" + reporterName + "\" warning: suman inception level is 0, we may not need to load this reporter.");
68090
68093
}
68091
68094
log.info("loading " + reporterName + ".");
68092
68095
loaded = true;
0 commit comments