Skip to content

Commit

Permalink
fix[devtools/profilingCache-test]: specify correct version gate for t…
Browse files Browse the repository at this point in the history
…est (#27008)

- Correctly gate the test to `[18.0.0, 18.2.0]` versions of react, as it
was initially defined before
#26742
- I have recently fixed the gating logic in
#26955 and
#26997, should be stable now
- I have added a non-gated version of this test, which should run only
for the current version of react, the one we build from sources
- The test version for react `v[18.0.0, 18.2.0]` should expect
`"priorityLevel": "Immediate"`, the other `"priorityLevel": "Normal"`,
as it was changed in #26512

DiffTrain build for commit 6aacd3f.
  • Loading branch information
hoxyq committed Jun 26, 2023
1 parent 65bcb9a commit 8983ab3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Expand Up @@ -23929,7 +23929,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-canary-8ec962d82-20230623";
var ReactVersion = "18.3.0-canary-6aacd3fa1-20230626";

// Might add PROFILE later.

Expand Down
Expand Up @@ -8617,7 +8617,7 @@ var devToolsConfig$jscomp$inline_1031 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-8ec962d82-20230623",
version: "18.3.0-canary-6aacd3fa1-20230626",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1230 = {
Expand Down Expand Up @@ -8648,7 +8648,7 @@ var internals$jscomp$inline_1230 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-8ec962d82-20230623"
reconcilerVersion: "18.3.0-canary-6aacd3fa1-20230626"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Expand Up @@ -9043,7 +9043,7 @@ var devToolsConfig$jscomp$inline_1073 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-8ec962d82-20230623",
version: "18.3.0-canary-6aacd3fa1-20230626",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1271 = {
Expand Down Expand Up @@ -9074,7 +9074,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-8ec962d82-20230623"
reconcilerVersion: "18.3.0-canary-6aacd3fa1-20230626"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-canary-8ec962d82-20230623";
var ReactVersion = "18.3.0-canary-6aacd3fa1-20230626";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Expand Up @@ -642,4 +642,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-canary-8ec962d82-20230623";
exports.version = "18.3.0-canary-6aacd3fa1-20230626";
Expand Up @@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-canary-8ec962d82-20230623";
exports.version = "18.3.0-canary-6aacd3fa1-20230626";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
@@ -1 +1 @@
8ec962d825fc948ffda5ab863e639cd4158935ba
6aacd3fa1567ed35c7ae4a69627ec1a1543df760

0 comments on commit 8983ab3

Please sign in to comment.