Skip to content

Commit 95e6c9b

Browse files
sdo-1Acpaulve-1A
authored andcommitted
feat: migrate Jest from v29 to v30
1 parent 53828ea commit 95e6c9b

File tree

89 files changed

+1279
-1856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1279
-1856
lines changed

apps/chrome-devtools/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@schematics/angular": "~20.3.11",
4949
"@stylistic/eslint-plugin": "~5.6.0",
5050
"@types/chrome": "^0.1.0",
51-
"@types/jest": "~29.5.2",
51+
"@types/jest": "~30.0.0",
5252
"@types/tinycolor2": "^1.4.6",
5353
"@typescript-eslint/parser": "~8.47.0",
5454
"angular-eslint": "~20.6.0",
@@ -69,11 +69,12 @@
6969
"eslint-plugin-unused-imports": "~4.3.0",
7070
"globals": "^16.0.0",
7171
"globby": "^11.1.0",
72-
"jest": "~29.7.0",
73-
"jest-environment-jsdom": "~29.7.0",
72+
"jest": "~30.2.0",
73+
"jest-environment-jsdom": "~30.2.0",
7474
"jest-junit": "~16.0.0",
75-
"jest-preset-angular": "~14.6.0",
76-
"jest-util": "~29.7.0",
75+
"jest-preset-angular": "~16.0.0",
76+
"jest-util": "~30.2.0",
77+
"jsdom": "^26.1.0",
7778
"jsonc-eslint-parser": "~2.4.0",
7879
"lighthouse": "~12.8.0",
7980
"minimist": "^1.2.6",

apps/github-cascading-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@stylistic/eslint-plugin": "~5.6.0",
4343
"@types/ejs": "^3.1.2",
4444
"@types/express-serve-static-core": "^5.0.0",
45-
"@types/jest": "~29.5.2",
45+
"@types/jest": "~30.0.0",
4646
"@types/node": "~22.18.0",
4747
"@types/semver": "^7.3.13",
4848
"@typescript-eslint/parser": "~8.47.0",
@@ -61,10 +61,10 @@
6161
"eslint-plugin-unused-imports": "~4.3.0",
6262
"globals": "^16.0.0",
6363
"ioredis": "^5.3.2",
64-
"jest": "~29.7.0",
65-
"jest-environment-jsdom": "~29.7.0",
64+
"jest": "~30.2.0",
65+
"jest-environment-jsdom": "~30.2.0",
6666
"jest-junit": "~16.0.0",
67-
"jest-util": "~29.7.0",
67+
"jest-util": "~30.2.0",
6868
"jsonc-eslint-parser": "~2.4.0",
6969
"nock": "^14.0.0",
7070
"nx": "~21.6.0",

apps/palette-generator/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@o3r/test-helpers": "workspace:~",
2929
"@schematics/angular": "~20.3.11",
3030
"@stylistic/eslint-plugin": "~5.6.0",
31-
"@types/jest": "~29.5.2",
31+
"@types/jest": "~30.0.0",
3232
"@types/node": "~22.18.0",
3333
"@typescript-eslint/parser": "~8.47.0",
3434
"angular-eslint": "~20.6.0",
@@ -47,10 +47,10 @@
4747
"globals": "^16.0.0",
4848
"html-inline-script-webpack-plugin": "^3.1.0",
4949
"html-webpack-plugin": "^5.3.2",
50-
"jest": "~29.7.0",
51-
"jest-environment-jsdom": "~29.7.0",
50+
"jest": "~30.2.0",
51+
"jest-environment-jsdom": "~30.2.0",
5252
"jest-junit": "~16.0.0",
53-
"jest-util": "~29.7.0",
53+
"jest-util": "~30.2.0",
5454
"jsonc-eslint-parser": "~2.4.0",
5555
"style-loader": "^4.0.0",
5656
"ts-jest": "~29.4.0",

apps/showcase/package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@
8585
"globals": "^16.0.0",
8686
"globby": "^11.1.0",
8787
"intl-messageformat": "~10.7.0",
88-
"jest-preset-angular": "~14.6.0",
88+
"jest-preset-angular": "~16.0.0",
89+
"jest-util": "~30.2.0",
90+
"jsdom": "^26.1.0",
8991
"marked": "^15.0.0",
9092
"monaco-editor": "~0.54.0",
9193
"ngx-markdown": "^20.0.0",
@@ -124,7 +126,7 @@
124126
"@schematics/angular": "~20.3.11",
125127
"@stylistic/eslint-plugin": "~5.6.0",
126128
"@types/bootstrap": "^5.2.10",
127-
"@types/jest": "~29.5.2",
129+
"@types/jest": "~30.0.0",
128130
"@types/node": "~22.18.0",
129131
"@typescript-eslint/parser": "~8.47.0",
130132
"@webcontainer/api": "~1.6.0",
@@ -142,11 +144,12 @@
142144
"eslint-plugin-unused-imports": "~4.3.0",
143145
"globals": "^16.0.0",
144146
"globby": "^11.1.0",
145-
"jest": "~29.7.0",
146-
"jest-environment-jsdom": "~29.7.0",
147+
"jest": "~30.2.0",
148+
"jest-environment-jsdom": "~30.2.0",
147149
"jest-junit": "~16.0.0",
148-
"jest-preset-angular": "~14.6.0",
149-
"jest-util": "~29.7.0",
150+
"jest-preset-angular": "~16.0.0",
151+
"jest-util": "~30.2.0",
152+
"jsdom": "^26.1.0",
150153
"jsonc-eslint-parser": "~2.4.0",
151154
"lighthouse": "~12.8.0",
152155
"minimist": "^1.2.6",

apps/showcase/src/assets/trainings/sdk/shared/monorepo-template.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

apps/vscode-extension/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
"@schematics/angular": "~20.3.11",
434434
"@stylistic/eslint-plugin": "~5.6.0",
435435
"@types/eslint": "~9.6.0",
436-
"@types/jest": "~29.5.2",
436+
"@types/jest": "~30.0.0",
437437
"@types/node": "~22.18.0",
438438
"@types/vscode": "~1.105.0",
439439
"@typescript-eslint/parser": "~8.47.0",
@@ -452,10 +452,10 @@
452452
"eslint-plugin-unicorn": "~60.0.0",
453453
"eslint-plugin-unused-imports": "~4.3.0",
454454
"globals": "^16.0.0",
455-
"jest": "~29.7.0",
456-
"jest-environment-jsdom": "~29.7.0",
455+
"jest": "~30.2.0",
456+
"jest-environment-jsdom": "~30.2.0",
457457
"jest-junit": "~16.0.0",
458-
"jest-util": "~29.7.0",
458+
"jest-util": "~30.2.0",
459459
"jiti": "^2.4.0",
460460
"jsonc-eslint-parser": "~2.4.0",
461461
"nx": "~21.6.0",

nx.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@
213213
"source",
214214
"specs"
215215
],
216+
"dependsOn": [{
217+
"projects": ["test-helpers"],
218+
"target": "build"
219+
}],
216220
"outputs": [
217221
"{projectRoot}/dist-test/junit.xml",
218222
"{projectRoot}/coverage/cobertura-coverage.xml"
@@ -234,6 +238,10 @@
234238
},
235239
"test-int": {
236240
"executor": "@nx/jest:jest",
241+
"dependsOn": [{
242+
"projects": ["test-helpers"],
243+
"target": "build"
244+
}],
237245
"inputs": [
238246
{
239247
"env": "RUNNER_OS"

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
"@types/css-tree": "~2.3.0",
212212
"@types/eslint": "~9.6.0",
213213
"@types/estree": "^1.0.5",
214-
"@types/jest": "~29.5.2",
214+
"@types/jest": "~30.0.0",
215215
"@types/node": "~22.18.0",
216216
"@types/semver": "^7.3.13",
217217
"@typescript-eslint/parser": "~8.47.0",
@@ -249,11 +249,12 @@
249249
"husky": "~9.1.0",
250250
"intl-messageformat": "~10.7.0",
251251
"isomorphic-fetch": "~3.0.0",
252-
"jest": "~29.7.0",
253-
"jest-environment-jsdom": "~29.7.0",
254-
"jest-preset-angular": "~14.6.0",
255-
"jest-util": "~29.7.0",
252+
"jest": "~30.2.0",
253+
"jest-environment-jsdom": "~30.2.0",
254+
"jest-preset-angular": "~16.0.0",
255+
"jest-util": "~30.2.0",
256256
"js-yaml": "^4.1.1",
257+
"jsdom": "^26.1.0",
257258
"jsonc-eslint-parser": "~2.4.0",
258259
"jsonpath-plus": "~10.3.0",
259260
"lighthouse": "~12.8.0",

packages/@ama-mcp/angular/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@o3r/eslint-plugin": "workspace:^",
5858
"@o3r/test-helpers": "workspace:^",
5959
"@stylistic/eslint-plugin": "~5.6.0",
60-
"@types/jest": "~29.5.2",
60+
"@types/jest": "~30.0.0",
6161
"@types/node": "~22.18.0",
6262
"@typescript-eslint/parser": "~8.47.0",
6363
"angular-eslint": "~20.6.0",
@@ -73,11 +73,9 @@
7373
"eslint-plugin-unicorn": "~60.0.0",
7474
"eslint-plugin-unused-imports": "~4.3.0",
7575
"globals": "^16.0.0",
76-
"jest": "~29.7.0",
77-
"jest-environment-jsdom": "~29.7.0",
76+
"jest": "~30.2.0",
7877
"jest-junit": "~16.0.0",
79-
"jest-preset-angular": "~14.6.0",
80-
"jest-util": "~29.7.0",
78+
"jest-util": "~30.2.0",
8179
"jsonc-eslint-parser": "~2.4.0",
8280
"nx": "~21.6.0",
8381
"rxjs": "^7.8.1",

packages/@ama-mcp/core/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@o3r/eslint-plugin": "workspace:^",
5454
"@o3r/test-helpers": "workspace:^",
5555
"@stylistic/eslint-plugin": "~5.6.0",
56-
"@types/jest": "~29.5.2",
56+
"@types/jest": "~30.0.0",
5757
"@types/node": "~22.18.0",
5858
"@typescript-eslint/parser": "~8.47.0",
5959
"angular-eslint": "~20.6.0",
@@ -69,11 +69,9 @@
6969
"eslint-plugin-unicorn": "~60.0.0",
7070
"eslint-plugin-unused-imports": "~4.3.0",
7171
"globals": "^16.0.0",
72-
"jest": "~29.7.0",
73-
"jest-environment-jsdom": "~29.7.0",
72+
"jest": "~30.2.0",
7473
"jest-junit": "~16.0.0",
75-
"jest-preset-angular": "~14.6.0",
76-
"jest-util": "~29.7.0",
74+
"jest-util": "~30.2.0",
7775
"jsonc-eslint-parser": "~2.4.0",
7876
"nx": "~21.6.0",
7977
"rxjs": "^7.8.1",

0 commit comments

Comments
 (0)