Commit 96ed496
committed
fix: gate react/jsx-runtime upgrade only for React >= 17 tests (#28256)
#28252 broke RDT tests with React
16.x.
These changes gate the `jsx-runtime` upgrade only for cases when we are
testing against React >= 17.
Validated with:
```
./scripts/circleci/download_devtools_regression_build.js 16.0 --replaceBuild && node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion 16.0 --ci && ./scripts/circleci/download_devtools_regression_build.js 16.5 --replaceBuild && node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion 16.5 --ci && ./scripts/circleci/download_devtools_regression_build.js 16.8 --replaceBuild && node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion 16.8 --ci && ./scripts/circleci/download_devtools_regression_build.js 17.0 --replaceBuild && node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion 17.0 --ci && ./scripts/circleci/download_devtools_regression_build.js 18.0 --replaceBuild && node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion 18.0 --ci
```
DiffTrain build for commit 65d95b8.1 parent dedce27 commit 96ed496
File tree
7 files changed
+9
-9
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25600 | 25600 | | |
25601 | 25601 | | |
25602 | 25602 | | |
25603 | | - | |
| 25603 | + | |
25604 | 25604 | | |
25605 | 25605 | | |
25606 | 25606 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9150 | 9150 | | |
9151 | 9151 | | |
9152 | 9152 | | |
9153 | | - | |
| 9153 | + | |
9154 | 9154 | | |
9155 | 9155 | | |
9156 | 9156 | | |
| |||
9181 | 9181 | | |
9182 | 9182 | | |
9183 | 9183 | | |
9184 | | - | |
| 9184 | + | |
9185 | 9185 | | |
9186 | 9186 | | |
9187 | 9187 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9578 | 9578 | | |
9579 | 9579 | | |
9580 | 9580 | | |
9581 | | - | |
| 9581 | + | |
9582 | 9582 | | |
9583 | 9583 | | |
9584 | 9584 | | |
| |||
9609 | 9609 | | |
9610 | 9610 | | |
9611 | 9611 | | |
9612 | | - | |
| 9612 | + | |
9613 | 9613 | | |
9614 | 9614 | | |
9615 | 9615 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments