保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5
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)) &&