fix(create-app): pin jest and @jest/environment-jsdom-abstract to ~30.2.0

30.4.0 introduced synchronous require(ESM) that requires Node v24.9+,
breaking tests on Node 22. 30.3.0 pulls in @sinonjs/fake-timers@^15
which conflicts with @types/sinon@^17 (used by aws-sdk-client-mock).
30.2.0 avoids both issues cleanly.

Resets lockfile to a clean base-install from master constraints.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Fredrik Adelöw
2026-05-11 15:04:51 +02:00
parent e7020fa352
commit d61a91846e
6 changed files with 350 additions and 371 deletions
+2 -2
View File
@@ -94,11 +94,11 @@
"@backstage/plugin-scaffolder-node-test-utils": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@backstage/theme": "workspace:^",
"@jest/environment-jsdom-abstract": "~30.3.0",
"@jest/environment-jsdom-abstract": "~30.2.0",
"@types/fs-extra": "^11.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.13.14",
"jest": "~30.3.0",
"jest": "~30.2.0",
"jsdom": "^27.1.0",
"nodemon": "^3.0.1"
},