Skip to content

Commit 5efd4f4

Browse files
committed
Fix ReactFreshIntegration-test not running all tests as assumed (#28033)
Fix ReactFreshIntegration-test not running all tests as assumed `testCommon` was executed twice without setting `compileDestructuring` ever to true. This fixes this and removes one layer of abstraction in this test by using `describe.each`. DiffTrain build for commit cb98999.
1 parent fdb6643 commit 5efd4f4

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25540,7 +25540,7 @@ if (__DEV__) {
2554025540
return root;
2554125541
}
2554225542

25543-
var ReactVersion = "18.3.0-canary-bf3298926-20240123";
25543+
var ReactVersion = "18.3.0-canary-cb9899955-20240123";
2554425544

2554525545
// Might add PROFILE later.
2554625546

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9122,7 +9122,7 @@ var devToolsConfig$jscomp$inline_1037 = {
91229122
throw Error("TestRenderer does not support findFiberByHostInstance()");
91239123
},
91249124
bundleType: 0,
9125-
version: "18.3.0-canary-bf3298926-20240123",
9125+
version: "18.3.0-canary-cb9899955-20240123",
91269126
rendererPackageName: "react-test-renderer"
91279127
};
91289128
var internals$jscomp$inline_1230 = {
@@ -9153,7 +9153,7 @@ var internals$jscomp$inline_1230 = {
91539153
scheduleRoot: null,
91549154
setRefreshHandler: null,
91559155
getCurrentFiber: null,
9156-
reconcilerVersion: "18.3.0-canary-bf3298926-20240123"
9156+
reconcilerVersion: "18.3.0-canary-cb9899955-20240123"
91579157
};
91589158
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
91599159
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9550,7 +9550,7 @@ var devToolsConfig$jscomp$inline_1079 = {
95509550
throw Error("TestRenderer does not support findFiberByHostInstance()");
95519551
},
95529552
bundleType: 0,
9553-
version: "18.3.0-canary-bf3298926-20240123",
9553+
version: "18.3.0-canary-cb9899955-20240123",
95549554
rendererPackageName: "react-test-renderer"
95559555
};
95569556
var internals$jscomp$inline_1271 = {
@@ -9581,7 +9581,7 @@ var internals$jscomp$inline_1271 = {
95819581
scheduleRoot: null,
95829582
setRefreshHandler: null,
95839583
getCurrentFiber: null,
9584-
reconcilerVersion: "18.3.0-canary-bf3298926-20240123"
9584+
reconcilerVersion: "18.3.0-canary-cb9899955-20240123"
95859585
};
95869586
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95879587
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (__DEV__) {
2424
) {
2525
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2626
}
27-
var ReactVersion = "18.3.0-canary-bf3298926-20240123";
27+
var ReactVersion = "18.3.0-canary-cb9899955-20240123";
2828

2929
// ATTENTION
3030
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,4 +539,4 @@ exports.useSyncExternalStore = function (
539539
exports.useTransition = function () {
540540
return ReactCurrentDispatcher.current.useTransition();
541541
};
542-
exports.version = "18.3.0-canary-bf3298926-20240123";
542+
exports.version = "18.3.0-canary-cb9899955-20240123";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ exports.useSyncExternalStore = function (
535535
exports.useTransition = function () {
536536
return ReactCurrentDispatcher.current.useTransition();
537537
};
538-
exports.version = "18.3.0-canary-bf3298926-20240123";
538+
exports.version = "18.3.0-canary-cb9899955-20240123";
539539
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
540540
"function" ===
541541
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bf32989264ff2faa9a009550401f573f29db4df2
1+
cb9899955b3d2c6e1e4477585f06068c2007efec

0 commit comments

Comments
 (0)