From f32e3dddc46c57f315af6bfa7deb22e1c27a24ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 14 Dec 2021 01:09:34 +0100 Subject: [PATCH] Update `jest-worker` in CRA tests (#14050) --- scripts/integration-tests/e2e-create-react-app.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/integration-tests/e2e-create-react-app.sh b/scripts/integration-tests/e2e-create-react-app.sh index 92e561535704..d7461ddaa0aa 100755 --- a/scripts/integration-tests/e2e-create-react-app.sh +++ b/scripts/integration-tests/e2e-create-react-app.sh @@ -45,20 +45,18 @@ if [[ "$(node --version)" == v17.* ]]; then export NODE_OPTIONS=--openssl-legacy-provider fi -# Remove this when https://github.com/facebook/jest/pull/12128 is fixed +startLocalRegistry "$PWD"/../../verdaccio-config.yml + +# Remove this when CRA updates jest-worker in their lockfile node -e " var pkg = require('./package.json'); pkg.resolutions = { - 'jest-worker': '27.3.1' + 'jest-worker': '27.4.5' }; fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2)); " - -startLocalRegistry "$PWD"/../../verdaccio-config.yml - -# Remove these when https://github.com/facebook/jest/pull/12128 is fixed npm install --ignore-scripts npx npm-force-resolutions