From 23b60dc1975db38c280d8a123aff97544d1673e0 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:34:21 +0800 Subject: [PATCH] TODO#139890 FAQ 常見問題 1-文案調整 --- PAMapp/node_modules/@jest/console/build/getConsoleOutput.js | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/PAMapp/node_modules/@jest/console/build/getConsoleOutput.js b/PAMapp/node_modules/@jest/console/build/getConsoleOutput.js index 503fd19..18eb354 100644 --- a/PAMapp/node_modules/@jest/console/build/getConsoleOutput.js +++ b/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; +} -- Gitblit v1.8.0