From 26fa49f4b0aa658d65a21fffe828f39e78302573 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 17:46:58 +0800 Subject: [PATCH] Revert "Update#139889 [ 快速篩選 ] 年資文案調整" --- PAMapp/node_modules/jest-snapshot/build/utils.js | 46 +++++++++++++++++++++++----------------------- 1 files changed, 23 insertions(+), 23 deletions(-) diff --git a/PAMapp/node_modules/jest-snapshot/build/utils.js b/PAMapp/node_modules/jest-snapshot/build/utils.js index 108d2c7..3c6b4ba 100644 --- a/PAMapp/node_modules/jest-snapshot/build/utils.js +++ b/PAMapp/node_modules/jest-snapshot/build/utils.js @@ -3,22 +3,22 @@ Object.defineProperty(exports, '__esModule', { value: true }); -exports.deepMerge = - exports.saveSnapshotFile = - exports.ensureDirectoryExists = - exports.escapeBacktickString = - exports.deserializeString = - exports.minify = +exports.testNameToKey = exports.serialize = + exports.saveSnapshotFile = exports.removeLinesBeforeExternalMatcherTrap = exports.removeExtraLineBreaks = - exports.addExtraLineBreaks = - exports.getSnapshotData = + exports.minify = exports.keyToTestName = - exports.testNameToKey = + exports.getSnapshotData = + exports.escapeBacktickString = + exports.ensureDirectoryExists = + exports.deserializeString = + exports.deepMerge = + exports.addExtraLineBreaks = exports.SNAPSHOT_VERSION_WARNING = - exports.SNAPSHOT_GUIDE_LINK = exports.SNAPSHOT_VERSION = + exports.SNAPSHOT_GUIDE_LINK = void 0; var path = _interopRequireWildcard(require('path')); @@ -201,8 +201,8 @@ const SNAPSHOT_VERSION_WARNING = _chalk.default.yellow( `${_chalk.default.bold('Warning')}: Before you upgrade snapshots, ` + - `we recommend that you revert any local changes to tests or other code, ` + - `to ensure that you do not store invalid state.` + 'we recommend that you revert any local changes to tests or other code, ' + + 'to ensure that you do not store invalid state.' ); exports.SNAPSHOT_VERSION_WARNING = SNAPSHOT_VERSION_WARNING; @@ -220,9 +220,9 @@ `${_chalk.default.bold( 'Outdated snapshot' )}: No snapshot header found. ` + - `Jest 19 introduced versioned snapshots to ensure all developers ` + - `on a project are using the same version of Jest. ` + - `Please update all snapshots during this upgrade of Jest.\n\n` + 'Jest 19 introduced versioned snapshots to ensure all developers ' + + 'on a project are using the same version of Jest. ' + + 'Please update all snapshots during this upgrade of Jest.\n\n' ) + SNAPSHOT_VERSION_WARNING ); } @@ -233,10 +233,10 @@ `${_chalk.default.red.bold( 'Outdated snapshot' )}: The version of the snapshot ` + - `file associated with this test is outdated. The snapshot file ` + - `version ensures that all developers on a project are using ` + - `the same version of Jest. ` + - `Please update all snapshots during this upgrade of Jest.\n\n` + 'file associated with this test is outdated. The snapshot file ' + + 'version ensures that all developers on a project are using ' + + 'the same version of Jest. ' + + 'Please update all snapshots during this upgrade of Jest.\n\n' ) + `Expected: v${SNAPSHOT_VERSION}\n` + `Received: v${version}\n\n` + @@ -250,10 +250,10 @@ `${_chalk.default.red.bold( 'Outdated Jest version' )}: The version of this ` + - `snapshot file indicates that this project is meant to be used ` + - `with a newer version of Jest. The snapshot file version ensures ` + - `that all developers on a project are using the same version of ` + - `Jest. Please update your version of Jest and re-run the tests.\n\n` + 'snapshot file indicates that this project is meant to be used ' + + 'with a newer version of Jest. The snapshot file version ensures ' + + 'that all developers on a project are using the same version of ' + + 'Jest. Please update your version of Jest and re-run the tests.\n\n' ) + `Expected: v${SNAPSHOT_VERSION}\n` + `Received: v${version}` -- Gitblit v1.8.0