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-each/build/table/array.js | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/PAMapp/node_modules/jest-each/build/table/array.js b/PAMapp/node_modules/jest-each/build/table/array.js index 04bc5c6..c687c81 100644 --- a/PAMapp/node_modules/jest-each/build/table/array.js +++ b/PAMapp/node_modules/jest-each/build/table/array.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); -exports.default = void 0; +exports.default = array; function util() { const data = _interopRequireWildcard(require('util')); @@ -83,7 +83,7 @@ const ESCAPED_PLACEHOLDER_PREFIX = /%%/g; const JEST_EACH_PLACEHOLDER_ESCAPE = '@@__JEST_EACH_PLACEHOLDER_ESCAPE__@@'; -var _default = (title, arrayTable) => { +function array(title, arrayTable) { if (isTemplates(title, arrayTable)) { return arrayTable.map((template, index) => ({ arguments: [template], @@ -99,9 +99,7 @@ arguments: row, title: formatTitle(title, row, index) })); -}; - -exports.default = _default; +} const isTemplates = (title, arrayTable) => !SUPPORTED_PLACEHOLDERS.test(interpolateEscapedPlaceholders(title)) && -- Gitblit v1.8.0