Upgrade ReactDOMShorthandCSSPropertyCollision-test to createRoot (#27924)

Upgrade ReactDOMShorthandCSSPropertyCollision-test to createRoot

Using the codemod from #27921 as a starting point, this migrates the
test to `createRoot`.

DiffTrain build for commit https://github.com/facebook/react/commit/33068c9db9153a479bb29d138397cb9c32fabfdd.
This commit is contained in:
kassens
2024-01-12 20:55:25 +00:00
parent caf453249f
commit cbb38c72ac
7 changed files with 9 additions and 9 deletions
@@ -25531,7 +25531,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "18.3.0-canary-0ac3ea471-20240111";
var ReactVersion = "18.3.0-canary-33068c9db-20240112";
// Might add PROFILE later.
@@ -9121,7 +9121,7 @@ var devToolsConfig$jscomp$inline_1037 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0ac3ea471-20240111",
version: "18.3.0-canary-33068c9db-20240112",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1230 = {
@@ -9152,7 +9152,7 @@ var internals$jscomp$inline_1230 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111"
reconcilerVersion: "18.3.0-canary-33068c9db-20240112"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9549,7 +9549,7 @@ var devToolsConfig$jscomp$inline_1079 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0ac3ea471-20240111",
version: "18.3.0-canary-33068c9db-20240112",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1271 = {
@@ -9580,7 +9580,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111"
reconcilerVersion: "18.3.0-canary-33068c9db-20240112"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-0ac3ea471-20240111";
var ReactVersion = "18.3.0-canary-33068c9db-20240112";
// ATTENTION
// When adding new symbols to this file,
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0ac3ea471-20240111";
exports.version = "18.3.0-canary-33068c9db-20240112";
@@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0ac3ea471-20240111";
exports.version = "18.3.0-canary-33068c9db-20240112";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
0ac3ea471fbcb7d79bc7d36179e960c72c779e76
33068c9db9153a479bb29d138397cb9c32fabfdd