Skip to content

Commit f32e3dd

Browse files
Update jest-worker in CRA tests (#14050)
1 parent bd3e6b1 commit f32e3dd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

scripts/integration-tests/e2e-create-react-app.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,18 @@ if [[ "$(node --version)" == v17.* ]]; then
4545
export NODE_OPTIONS=--openssl-legacy-provider
4646
fi
4747

48-
# Remove this when https://github.com/facebook/jest/pull/12128 is fixed
48+
startLocalRegistry "$PWD"/../../verdaccio-config.yml
49+
50+
# Remove this when CRA updates jest-worker in their lockfile
4951
node -e "
5052
var pkg = require('./package.json');
5153
5254
pkg.resolutions = {
53-
'jest-worker': '27.3.1'
55+
'jest-worker': '27.4.5'
5456
};
5557
5658
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
5759
"
58-
59-
startLocalRegistry "$PWD"/../../verdaccio-config.yml
60-
61-
# Remove these when https://github.com/facebook/jest/pull/12128 is fixed
6260
npm install --ignore-scripts
6361
npx npm-force-resolutions
6462

0 commit comments

Comments
 (0)