Skip to content

Commit 7507586

Browse files
committed
Update jest escapeString config (#26140)
## Summary In jest v29, snapshotFormat default to escapeString: false(jestjs/jest#13036) ## How did you test this change? ci green DiffTrain build for [3569831](3569831) [View git log for this commit](https://github.com/facebook/react/commits/35698311de3c068be9a542e1a2c545d718ec4782)
1 parent c83d3c7 commit 7507586

28 files changed

+42
-42
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6ddcbd4f96cb103de3978617a53c200baf5b546c
1+
35698311de3c068be9a542e1a2c545d718ec4782
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6ddcbd4f96cb103de3978617a53c200baf5b546c
1+
35698311de3c068be9a542e1a2c545d718ec4782

compiled/facebook-www/React-dev.classic.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-www-classic-6ddcbd4f9-20230209";
30+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
3131

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

compiled/facebook-www/React-dev.modern.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-www-modern-6ddcbd4f9-20230209";
30+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
3131

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

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,4 +646,4 @@ exports.useSyncExternalStore = function (
646646
);
647647
};
648648
exports.useTransition = useTransition;
649-
exports.version = "18.3.0-www-classic-6ddcbd4f9-20230209";
649+
exports.version = "18.3.0-www-classic-35698311d-20230210";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,4 +638,4 @@ exports.useSyncExternalStore = function (
638638
);
639639
};
640640
exports.useTransition = useTransition;
641-
exports.version = "18.3.0-www-modern-6ddcbd4f9-20230209";
641+
exports.version = "18.3.0-www-modern-35698311d-20230210";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ exports.useSyncExternalStore = function (
657657
);
658658
};
659659
exports.useTransition = useTransition;
660-
exports.version = "18.3.0-www-classic-6ddcbd4f9-20230209";
660+
exports.version = "18.3.0-www-classic-35698311d-20230210";
661661

662662
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
663663
if (

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ exports.useSyncExternalStore = function (
649649
);
650650
};
651651
exports.useTransition = useTransition;
652-
exports.version = "18.3.0-www-modern-6ddcbd4f9-20230209";
652+
exports.version = "18.3.0-www-modern-35698311d-20230210";
653653

654654
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
655655
if (

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-classic-6ddcbd4f9-20230209";
72+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-modern-6ddcbd4f9-20230209";
72+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

compiled/facebook-www/ReactART-prod.classic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9845,7 +9845,7 @@ var slice = Array.prototype.slice,
98459845
return null;
98469846
},
98479847
bundleType: 0,
9848-
version: "18.3.0-www-classic-6ddcbd4f9-20230209",
9848+
version: "18.3.0-www-classic-35698311d-20230210",
98499849
rendererPackageName: "react-art"
98509850
};
98519851
var internals$jscomp$inline_1318 = {
@@ -9876,7 +9876,7 @@ var internals$jscomp$inline_1318 = {
98769876
scheduleRoot: null,
98779877
setRefreshHandler: null,
98789878
getCurrentFiber: null,
9879-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
9879+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
98809880
};
98819881
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
98829882
var hook$jscomp$inline_1319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled/facebook-www/ReactART-prod.modern.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9510,7 +9510,7 @@ var slice = Array.prototype.slice,
95109510
return null;
95119511
},
95129512
bundleType: 0,
9513-
version: "18.3.0-www-modern-6ddcbd4f9-20230209",
9513+
version: "18.3.0-www-modern-35698311d-20230210",
95149514
rendererPackageName: "react-art"
95159515
};
95169516
var internals$jscomp$inline_1309 = {
@@ -9541,7 +9541,7 @@ var internals$jscomp$inline_1309 = {
95419541
scheduleRoot: null,
95429542
setRefreshHandler: null,
95439543
getCurrentFiber: null,
9544-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
9544+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
95459545
};
95469546
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95479547
var hook$jscomp$inline_1310 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled/facebook-www/ReactDOM-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42699,7 +42699,7 @@ function createFiberRoot(
4269942699
return root;
4270042700
}
4270142701

42702-
var ReactVersion = "18.3.0-www-classic-6ddcbd4f9-20230209";
42702+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
4270342703

4270442704
function createPortal(
4270542705
children,

compiled/facebook-www/ReactDOM-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42423,7 +42423,7 @@ function createFiberRoot(
4242342423
return root;
4242442424
}
4242542425

42426-
var ReactVersion = "18.3.0-www-modern-6ddcbd4f9-20230209";
42426+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
4242742427

4242842428
function createPortal(
4242942429
children,

compiled/facebook-www/ReactDOM-prod.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15575,7 +15575,7 @@ Internals.Events = [
1557515575
var devToolsConfig$jscomp$inline_1750 = {
1557615576
findFiberByHostInstance: getClosestInstanceFromNode,
1557715577
bundleType: 0,
15578-
version: "18.3.0-www-classic-6ddcbd4f9-20230209",
15578+
version: "18.3.0-www-classic-35698311d-20230210",
1557915579
rendererPackageName: "react-dom"
1558015580
};
1558115581
var internals$jscomp$inline_2134 = {
@@ -15605,7 +15605,7 @@ var internals$jscomp$inline_2134 = {
1560515605
scheduleRoot: null,
1560615606
setRefreshHandler: null,
1560715607
getCurrentFiber: null,
15608-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
15608+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1560915609
};
1561015610
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1561115611
var hook$jscomp$inline_2135 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15853,4 +15853,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1585315853
);
1585415854
};
1585515855
exports.unstable_runWithPriority = runWithPriority;
15856-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
15856+
exports.version = "18.3.0-next-35698311d-20230210";

compiled/facebook-www/ReactDOM-prod.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15136,7 +15136,7 @@ Internals.Events = [
1513615136
var devToolsConfig$jscomp$inline_1718 = {
1513715137
findFiberByHostInstance: getClosestInstanceFromNode,
1513815138
bundleType: 0,
15139-
version: "18.3.0-www-modern-6ddcbd4f9-20230209",
15139+
version: "18.3.0-www-modern-35698311d-20230210",
1514015140
rendererPackageName: "react-dom"
1514115141
};
1514215142
var internals$jscomp$inline_2109 = {
@@ -15167,7 +15167,7 @@ var internals$jscomp$inline_2109 = {
1516715167
scheduleRoot: null,
1516815168
setRefreshHandler: null,
1516915169
getCurrentFiber: null,
15170-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
15170+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1517115171
};
1517215172
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1517315173
var hook$jscomp$inline_2110 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15355,4 +15355,4 @@ exports.unstable_flushControlled = function (fn) {
1535515355
}
1535615356
};
1535715357
exports.unstable_runWithPriority = runWithPriority;
15358-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
15358+
exports.version = "18.3.0-next-35698311d-20230210";

compiled/facebook-www/ReactDOM-profiling.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16345,7 +16345,7 @@ Internals.Events = [
1634516345
var devToolsConfig$jscomp$inline_1824 = {
1634616346
findFiberByHostInstance: getClosestInstanceFromNode,
1634716347
bundleType: 0,
16348-
version: "18.3.0-www-classic-6ddcbd4f9-20230209",
16348+
version: "18.3.0-www-classic-35698311d-20230210",
1634916349
rendererPackageName: "react-dom"
1635016350
};
1635116351
(function (internals) {
@@ -16389,7 +16389,7 @@ var devToolsConfig$jscomp$inline_1824 = {
1638916389
scheduleRoot: null,
1639016390
setRefreshHandler: null,
1639116391
getCurrentFiber: null,
16392-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
16392+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1639316393
});
1639416394
assign(Internals, {
1639516395
ReactBrowserEventEmitter: {
@@ -16624,7 +16624,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
1662416624
);
1662516625
};
1662616626
exports.unstable_runWithPriority = runWithPriority;
16627-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
16627+
exports.version = "18.3.0-next-35698311d-20230210";
1662816628

1662916629
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1663016630
if (

compiled/facebook-www/ReactDOM-profiling.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15896,7 +15896,7 @@ Internals.Events = [
1589615896
var devToolsConfig$jscomp$inline_1792 = {
1589715897
findFiberByHostInstance: getClosestInstanceFromNode,
1589815898
bundleType: 0,
15899-
version: "18.3.0-www-modern-6ddcbd4f9-20230209",
15899+
version: "18.3.0-www-modern-35698311d-20230210",
1590015900
rendererPackageName: "react-dom"
1590115901
};
1590215902
(function (internals) {
@@ -15941,7 +15941,7 @@ var devToolsConfig$jscomp$inline_1792 = {
1594115941
scheduleRoot: null,
1594215942
setRefreshHandler: null,
1594315943
getCurrentFiber: null,
15944-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
15944+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1594515945
});
1594615946
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
1594715947
exports.createPortal = function (children, container) {
@@ -16116,7 +16116,7 @@ exports.unstable_flushControlled = function (fn) {
1611616116
}
1611716117
};
1611816118
exports.unstable_runWithPriority = runWithPriority;
16119-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
16119+
exports.version = "18.3.0-next-35698311d-20230210";
1612016120

1612116121
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1612216122
if (

compiled/facebook-www/ReactDOMServer-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-classic-6ddcbd4f9-20230209";
22+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

compiled/facebook-www/ReactDOMServer-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-modern-6ddcbd4f9-20230209";
22+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

compiled/facebook-www/ReactDOMServer-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3634,4 +3634,4 @@ exports.renderToString = function (children, options) {
36343634
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
36353635
);
36363636
};
3637-
exports.version = "18.3.0-www-classic-6ddcbd4f9-20230209";
3637+
exports.version = "18.3.0-www-classic-35698311d-20230210";

compiled/facebook-www/ReactDOMServer-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3548,4 +3548,4 @@ exports.renderToString = function (children, options) {
35483548
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
35493549
);
35503550
};
3551-
exports.version = "18.3.0-www-modern-6ddcbd4f9-20230209";
3551+
exports.version = "18.3.0-www-modern-35698311d-20230210";

compiled/facebook-www/ReactDOMTesting-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31216,7 +31216,7 @@ function createFiberRoot(
3121631216
return root;
3121731217
}
3121831218

31219-
var ReactVersion = "18.3.0-www-classic-6ddcbd4f9-20230209";
31219+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
3122031220

3122131221
function createPortal(
3122231222
children,

compiled/facebook-www/ReactDOMTesting-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38518,7 +38518,7 @@ function createFiberRoot(
3851838518
return root;
3851938519
}
3852038520

38521-
var ReactVersion = "18.3.0-www-modern-6ddcbd4f9-20230209";
38521+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
3852238522

3852338523
function createPortal(
3852438524
children,

compiled/facebook-www/ReactDOMTesting-prod.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11356,7 +11356,7 @@ Internals.Events = [
1135611356
var devToolsConfig$jscomp$inline_1518 = {
1135711357
findFiberByHostInstance: getClosestInstanceFromNode,
1135811358
bundleType: 0,
11359-
version: "18.3.0-www-classic-6ddcbd4f9-20230209",
11359+
version: "18.3.0-www-classic-35698311d-20230210",
1136011360
rendererPackageName: "react-dom"
1136111361
};
1136211362
var internals$jscomp$inline_2047 = {
@@ -11386,7 +11386,7 @@ var internals$jscomp$inline_2047 = {
1138611386
scheduleRoot: null,
1138711387
setRefreshHandler: null,
1138811388
getCurrentFiber: null,
11389-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
11389+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1139011390
};
1139111391
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1139211392
var hook$jscomp$inline_2048 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14903,4 +14903,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1490314903
);
1490414904
};
1490514905
exports.unstable_runWithPriority = runWithPriority;
14906-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
14906+
exports.version = "18.3.0-next-35698311d-20230210";

compiled/facebook-www/ReactDOMTesting-prod.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14007,7 +14007,7 @@ Internals.Events = [
1400714007
var devToolsConfig$jscomp$inline_1673 = {
1400814008
findFiberByHostInstance: getClosestInstanceFromNode,
1400914009
bundleType: 0,
14010-
version: "18.3.0-www-modern-6ddcbd4f9-20230209",
14010+
version: "18.3.0-www-modern-35698311d-20230210",
1401114011
rendererPackageName: "react-dom"
1401214012
};
1401314013
var internals$jscomp$inline_2072 = {
@@ -14038,7 +14038,7 @@ var internals$jscomp$inline_2072 = {
1403814038
scheduleRoot: null,
1403914039
setRefreshHandler: null,
1404014040
getCurrentFiber: null,
14041-
reconcilerVersion: "18.3.0-next-6ddcbd4f9-20230209"
14041+
reconcilerVersion: "18.3.0-next-35698311d-20230210"
1404214042
};
1404314043
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1404414044
var hook$jscomp$inline_2073 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14369,4 +14369,4 @@ exports.unstable_flushControlled = function (fn) {
1436914369
}
1437014370
};
1437114371
exports.unstable_runWithPriority = runWithPriority;
14372-
exports.version = "18.3.0-next-6ddcbd4f9-20230209";
14372+
exports.version = "18.3.0-next-35698311d-20230210";

compiled/facebook-www/ReactTestRenderer-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23910,7 +23910,7 @@ function createFiberRoot(
2391023910
return root;
2391123911
}
2391223912

23913-
var ReactVersion = "18.3.0-www-classic-6ddcbd4f9-20230209";
23913+
var ReactVersion = "18.3.0-www-classic-35698311d-20230210";
2391423914

2391523915
// Might add PROFILE later.
2391623916

compiled/facebook-www/ReactTestRenderer-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23910,7 +23910,7 @@ function createFiberRoot(
2391023910
return root;
2391123911
}
2391223912

23913-
var ReactVersion = "18.3.0-www-modern-6ddcbd4f9-20230209";
23913+
var ReactVersion = "18.3.0-www-modern-35698311d-20230210";
2391423914

2391523915
// Might add PROFILE later.
2391623916

0 commit comments

Comments
 (0)