[FB] use modern entrypoint in tests (#28724)

Removes the entrypoint hack in tests since we gate legacy mode tests now

DiffTrain build for commit https://github.com/facebook/react/commit/cb6dc7a6a03ea10a38b84e9e5737739e0d468435.
This commit is contained in:
gnoff
2024-04-03 05:29:50 +00:00
parent 8051b64be4
commit d3e0f24f86
2 changed files with 5 additions and 3 deletions
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b5c3bd06cefe8e8c6b930dcaaef5f86a>>
* @generated SignedSource<<6dd5afbe7edffc7ad1a5a0c0b9a8bb3b>>
*/
"use strict";
@@ -33,6 +33,7 @@ var dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
function getIteratorFn(maybeIterable) {
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -569,6 +570,7 @@ exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
exports.unstable_Scope = REACT_SCOPE_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
exports.unstable_getCacheForType = function (resourceType) {
var dispatcher = ReactCurrentCache.current;
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -645,7 +647,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "19.0.0-canary-e9e47b60";
exports.version = "19.0.0-canary-d3b38ca2";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
dc545c8d6eaca87c8d5cabfab6e1c768ecafe426
cb6dc7a6a03ea10a38b84e9e5737739e0d468435