From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/jest-circus/build/formatNodeAssertErrors.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/PAMapp/node_modules/jest-circus/build/formatNodeAssertErrors.js b/PAMapp/node_modules/jest-circus/build/formatNodeAssertErrors.js
index 32e91ae..38d5799 100644
--- a/PAMapp/node_modules/jest-circus/build/formatNodeAssertErrors.js
+++ b/PAMapp/node_modules/jest-circus/build/formatNodeAssertErrors.js
@@ -145,8 +145,8 @@
   if (operatorName === 'doesNotThrow') {
     return (
       buildHintString(assertThrowingMatcherHint(operatorName)) +
-      _chalk.default.reset(`Expected the function not to throw an error.\n`) +
-      _chalk.default.reset(`Instead, it threw:\n`) +
+      _chalk.default.reset('Expected the function not to throw an error.\n') +
+      _chalk.default.reset('Instead, it threw:\n') +
       `  ${(0, _jestMatcherUtils.printReceived)(actual)}` +
       _chalk.default.reset(
         hasCustomMessage ? '\n\nMessage:\n  ' + message : ''
@@ -158,8 +158,8 @@
   if (operatorName === 'throws') {
     return (
       buildHintString(assertThrowingMatcherHint(operatorName)) +
-      _chalk.default.reset(`Expected the function to throw an error.\n`) +
-      _chalk.default.reset(`But it didn't throw anything.`) +
+      _chalk.default.reset('Expected the function to throw an error.\n') +
+      _chalk.default.reset("But it didn't throw anything.") +
       _chalk.default.reset(
         hasCustomMessage ? '\n\nMessage:\n  ' + message : ''
       ) +
@@ -179,7 +179,7 @@
     buildHintString(assertMatcherHint(operator, operatorName, expected)) +
     _chalk.default.reset(`Expected value ${operatorMessage(operator)}`) +
     `  ${(0, _jestMatcherUtils.printExpected)(expected)}\n` +
-    _chalk.default.reset(`Received:\n`) +
+    _chalk.default.reset('Received:\n') +
     `  ${(0, _jestMatcherUtils.printReceived)(actual)}` +
     _chalk.default.reset(hasCustomMessage ? '\n\nMessage:\n  ' + message : '') +
     (diffString ? `\n\nDifference:\n\n${diffString}` : '') +

--
Gitblit v1.8.0