Skip to content

Commit d27c5ca

Browse files
committed
Don't transpile async/await in tests (#27029)
Modern runtimes support native async/await, as does the version of Node we use for our tests. To match how most of our users run React, this disables the transpilation of async/await in our test suite. DiffTrain build for commit 47385f8.
1 parent f2efeae commit d27c5ca

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23903,7 +23903,7 @@ function createFiberRoot(
2390323903
return root;
2390423904
}
2390523905

23906-
var ReactVersion = "18.3.0-canary-1fdacbefd-20230630";
23906+
var ReactVersion = "18.3.0-canary-47385f8fa-20230630";
2390723907

2390823908
// Might add PROFILE later.
2390923909

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8616,7 +8616,7 @@ var devToolsConfig$jscomp$inline_1031 = {
86168616
throw Error("TestRenderer does not support findFiberByHostInstance()");
86178617
},
86188618
bundleType: 0,
8619-
version: "18.3.0-canary-1fdacbefd-20230630",
8619+
version: "18.3.0-canary-47385f8fa-20230630",
86208620
rendererPackageName: "react-test-renderer"
86218621
};
86228622
var internals$jscomp$inline_1230 = {
@@ -8647,7 +8647,7 @@ var internals$jscomp$inline_1230 = {
86478647
scheduleRoot: null,
86488648
setRefreshHandler: null,
86498649
getCurrentFiber: null,
8650-
reconcilerVersion: "18.3.0-canary-1fdacbefd-20230630"
8650+
reconcilerVersion: "18.3.0-canary-47385f8fa-20230630"
86518651
};
86528652
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
86538653
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9042,7 +9042,7 @@ var devToolsConfig$jscomp$inline_1073 = {
90429042
throw Error("TestRenderer does not support findFiberByHostInstance()");
90439043
},
90449044
bundleType: 0,
9045-
version: "18.3.0-canary-1fdacbefd-20230630",
9045+
version: "18.3.0-canary-47385f8fa-20230630",
90469046
rendererPackageName: "react-test-renderer"
90479047
};
90489048
var internals$jscomp$inline_1271 = {
@@ -9073,7 +9073,7 @@ var internals$jscomp$inline_1271 = {
90739073
scheduleRoot: null,
90749074
setRefreshHandler: null,
90759075
getCurrentFiber: null,
9076-
reconcilerVersion: "18.3.0-canary-1fdacbefd-20230630"
9076+
reconcilerVersion: "18.3.0-canary-47385f8fa-20230630"
90779077
};
90789078
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90799079
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-canary-1fdacbefd-20230630";
30+
var ReactVersion = "18.3.0-canary-47385f8fa-20230630";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,4 +623,4 @@ exports.useSyncExternalStore = function (
623623
);
624624
};
625625
exports.useTransition = useTransition;
626-
exports.version = "18.3.0-canary-1fdacbefd-20230630";
626+
exports.version = "18.3.0-canary-47385f8fa-20230630";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ exports.useSyncExternalStore = function (
626626
);
627627
};
628628
exports.useTransition = useTransition;
629-
exports.version = "18.3.0-canary-1fdacbefd-20230630";
629+
exports.version = "18.3.0-canary-47385f8fa-20230630";
630630

631631
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
632632
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1fdacbefd641d0ac1c97b159760eb03768771049
1+
47385f8fa448e52326f08d0afa357339fac6f86e

0 commit comments

Comments
 (0)