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:
acdlite
2023-09-28 16:25:49 +00:00
parent f090ab1e5e
commit 0c6a61b972
7 changed files with 9 additions and 9 deletions
@@ -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.
@@ -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__;
@@ -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__;
@@ -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,
@@ -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";
@@ -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 @@
5b5665342b34b12940874bf38d61ef7b2a784bbd
62512bafc635e165eb0db26dc8efbed12d0d02fb