Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
[jest] Support Jest 29.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosbugs committed Sep 13, 2023
1 parent 15c870a commit 285b34e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ jobs:
- 18
- 20
jest:
- "29.7"
- "29.6"
- "29.5"
- "29.4"
Expand Down Expand Up @@ -448,6 +449,7 @@ jobs:
- 18
- 20
jest:
- "29.7"
- "29.6"
- "29.5"
- "29.4"
Expand Down
13 changes: 9 additions & 4 deletions scripts/set-jest-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const PACKAGE_VERSION_MAP = {
"25 - 27": null,
"29.0 - 29.3": "~29.0",
"29.4 - 29.5": "~29.4",
"29.6 - 29.7": "~29.6",
},
"@jest/source-map": {
"25.2 - 25.4": "~25.2",
Expand All @@ -86,6 +87,7 @@ const PACKAGE_VERSION_MAP = {
"29.0 - 29.1": "~29.0",
"29.2 - 29.3": "~29.2",
"29.4 - 29.5": "~29.4",
"29.6 - 29.7": "~29.6",
},
"@jest/test-result": {
"26.3 - 26.4": "~26.3",
Expand All @@ -96,6 +98,7 @@ const PACKAGE_VERSION_MAP = {
"@jest/types": {
"26.3 - 26.4": "~26.3",
"27.2 - 27.3": "~27.2",
"29.6 - 29.7": "~29.6",
},
"babel-jest": {
"26.3 - 26.4": "~26.3",
Expand All @@ -107,15 +110,15 @@ const PACKAGE_VERSION_MAP = {
"27.2 - 27.3": "~27.2",
"29.0 - 29.1": "~29.0",
"29.2 - 29.3": "~29.2",
"29.5 - 29.6": "~29.5",
"29.6 - 29.7": "~29.6",
},
"babel-preset-jest": {
"26.3 - 26.4": "~26.3",
"27.0 - 27.1": "~27.0",
"27.2 - 27.3": "~27.2",
"29.0 - 29.1": "~29.0",
"29.2 - 29.3": "~29.2",
"29.5 - 29.6": "~29.5",
"29.6 - 29.7": "~29.6",
},
"jest-changed-files": {
"26.3 - 26.4": "~26.3",
Expand Down Expand Up @@ -145,7 +148,8 @@ const PACKAGE_VERSION_MAP = {
"^28": "~28.0",
"29.0 - 29.1": "~29.0",
"29.2 - 29.3": "~29.2",
"29.4 - 29.6": "~29.4",
"29.4 - 29.5": "~29.4",
"29.6 - 29.7": "~29.6",
},
"jest-haste-map": {
"26.3 - 26.4": "~26.3",
Expand All @@ -163,7 +167,8 @@ const PACKAGE_VERSION_MAP = {
"^28": "~28.0",
"29.0 - 29.1": "~29.0",
"29.2 - 29.3": "~29.2",
"29.4 - 29.6": "~29.4",
"29.4 - 29.5": "~29.4",
"29.6 - 29.7": "~29.6",
},
"jest-serializer": {
"25.2 - 25.4": "~25.2",
Expand Down

0 comments on commit 285b34e

Please sign in to comment.