From 26a09f08cf1ed43c640879f23fdad56c5c9282f7 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:02:38 +0800 Subject: [PATCH] TODO#139884 Banner 1 文案調整 --- PAMapp/node_modules/@jest/reporters/build/utils.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PAMapp/node_modules/@jest/reporters/build/utils.js b/PAMapp/node_modules/@jest/reporters/build/utils.js index a721aa7..558ac92 100644 --- a/PAMapp/node_modules/@jest/reporters/build/utils.js +++ b/PAMapp/node_modules/@jest/reporters/build/utils.js @@ -4,11 +4,11 @@ value: true }); exports.wrapAnsiString = - exports.getSummary = - exports.relativePath = - exports.formatTestPath = exports.trimAndFormatPath = + exports.relativePath = exports.printDisplayName = + exports.getSummary = + exports.formatTestPath = void 0; function path() { @@ -272,7 +272,7 @@ (suitesRun !== suitesTotal ? suitesRun + ' of ' + suitesTotal : suitesTotal) + - ` total`; + ' total'; const updatedTestsFailed = testsFailed + valuesForCurrentTestCases.numFailingTests; const updatedTestsPending = @@ -341,7 +341,7 @@ estimatedTime && runTime >= estimatedTime + 1 ? _chalk().default.bold.yellow((0, _jestUtil().formatTime)(runTime, 0)) : (0, _jestUtil().formatTime)(runTime, 0); - let time = _chalk().default.bold(`Time:`) + ` ${renderedTime}`; + let time = _chalk().default.bold('Time:') + ` ${renderedTime}`; if (runTime < estimatedTime) { time += `, estimated ${(0, _jestUtil().formatTime)(estimatedTime, 0)}`; @@ -375,7 +375,7 @@ return string; } - const ANSI_REGEXP = /[\u001b\u009b]\[\d{1,2}m/g; + const ANSI_REGEXP = /[\u001b\u009b]\[\d{1,2}m/gu; const tokens = []; let lastIndex = 0; let match; -- Gitblit v1.8.0