保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/node_modules/@jest/console/build/getConsoleOutput.js
@@ -3,7 +3,7 @@
Object.defineProperty(exports, '__esModule', {
  value: true
});
exports.default = void 0;
exports.default = getConsoleOutput;
function _chalk() {
  const data = _interopRequireDefault(require('chalk'));
@@ -35,7 +35,7 @@
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var _default = (buffer, config, globalConfig) => {
function getConsoleOutput(buffer, config, globalConfig) {
  const TITLE_INDENT = globalConfig.verbose ? '  ' : '    ';
  const CONSOLE_INDENT = TITLE_INDENT + '  ';
  const logEntries = buffer.reduce((output, {type, message, origin}) => {
@@ -98,6 +98,4 @@
    );
  }, '');
  return logEntries.trimRight() + '\n';
};
exports.default = _default;
}