mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Test fix: Add missing warning assertion (#27434)
Adds a missing test assertion for Server Context deprecation. The PR that added this warning was based on an older revision than the PR that added the test. DiffTrain build for commit https://github.com/facebook/react/commit/62512bafc635e165eb0db26dc8efbed12d0d02fb.
This commit is contained in:
+1
-1
@@ -23985,7 +23985,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-5b5665342-20230928";
|
||||
var ReactVersion = "18.3.0-canary-62512bafc-20230928";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8620,7 +8620,7 @@ var devToolsConfig$jscomp$inline_1027 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-5b5665342-20230928",
|
||||
version: "18.3.0-canary-62512bafc-20230928",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1226 = {
|
||||
@@ -8651,7 +8651,7 @@ var internals$jscomp$inline_1226 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-5b5665342-20230928"
|
||||
reconcilerVersion: "18.3.0-canary-62512bafc-20230928"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9046,7 +9046,7 @@ var devToolsConfig$jscomp$inline_1069 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-5b5665342-20230928",
|
||||
version: "18.3.0-canary-62512bafc-20230928",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1267 = {
|
||||
@@ -9077,7 +9077,7 @@ var internals$jscomp$inline_1267 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-5b5665342-20230928"
|
||||
reconcilerVersion: "18.3.0-canary-62512bafc-20230928"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-5b5665342-20230928";
|
||||
var ReactVersion = "18.3.0-canary-62512bafc-20230928";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-5b5665342-20230928";
|
||||
exports.version = "18.3.0-canary-62512bafc-20230928";
|
||||
|
||||
+1
-1
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-5b5665342-20230928";
|
||||
exports.version = "18.3.0-canary-62512bafc-20230928";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
5b5665342b34b12940874bf38d61ef7b2a784bbd
|
||||
62512bafc635e165eb0db26dc8efbed12d0d02fb
|
||||
|
||||
Reference in New Issue
Block a user