@brillout/test-e2e 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Logs.js +2 -2
- package/package.json +1 -1
package/dist/Logs.js
CHANGED
|
@@ -99,7 +99,7 @@ function printLog(logEntry) {
|
|
|
99
99
|
const testInfo = (0, getCurrentTest_1.getCurrentTestOptional)();
|
|
100
100
|
// See https://github.com/nodejs/node/issues/8033#issuecomment-388323687
|
|
101
101
|
if (!(0, utils_1.ensureNewTerminalLine)()) {
|
|
102
|
-
|
|
102
|
+
console.log('');
|
|
103
103
|
}
|
|
104
104
|
let msg = logText;
|
|
105
105
|
// I don't know why but sometimes `logText` is `undefined`
|
|
@@ -112,7 +112,7 @@ function printLog(logEntry) {
|
|
|
112
112
|
(0, utils_1.assert)(testInfo.runInfo);
|
|
113
113
|
testInfoLabels = `[${testInfo.testName}][${testInfo.runInfo.cmd}]`;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
console.log(`[${logTimestamp}]${testInfoLabels}[${logSourceLabel}] ${msg}`);
|
|
116
116
|
}
|
|
117
117
|
function colorize(logSource) {
|
|
118
118
|
const { bold } = picocolors_1.default;
|