Skip to content

Commit

Permalink
Remove RTR usage from useSubscription-test (#28388)
Browse files Browse the repository at this point in the history
## Summary

Cleaning up internal usage of ReactTestRenderer

## How did you test this change?

`yarn test
packages/use-subscription/src/__tests__/useSubscription-test.js`

DiffTrain build for commit 0778f61.
  • Loading branch information
jackpope committed Feb 20, 2024
1 parent 7fce24f commit e162f01
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25696,7 +25696,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-cefc1c66c-20240220";
var ReactVersion = "18.3.0-canary-0778f6132-20240220";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9176,7 +9176,7 @@ var devToolsConfig$jscomp$inline_1014 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-cefc1c66c-20240220",
version: "18.3.0-canary-0778f6132-20240220",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1195 = {
Expand Down Expand Up @@ -9207,7 +9207,7 @@ var internals$jscomp$inline_1195 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-cefc1c66c-20240220"
reconcilerVersion: "18.3.0-canary-0778f6132-20240220"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1196 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9604,7 +9604,7 @@ var devToolsConfig$jscomp$inline_1056 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-cefc1c66c-20240220",
version: "18.3.0-canary-0778f6132-20240220",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1236 = {
Expand Down Expand Up @@ -9635,7 +9635,7 @@ var internals$jscomp$inline_1236 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-cefc1c66c-20240220"
reconcilerVersion: "18.3.0-canary-0778f6132-20240220"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1237 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-cefc1c66c-20240220";
var ReactVersion = "18.3.0-canary-0778f6132-20240220";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-cefc1c66c-20240220";
exports.version = "18.3.0-canary-0778f6132-20240220";
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-cefc1c66c-20240220";
exports.version = "18.3.0-canary-0778f6132-20240220";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cefc1c66c179e5cca255f1ff53610a0ed9f8e710
0778f61321ebb235b49e4630e43e734a9badbd5c

0 comments on commit e162f01

Please sign in to comment.