@@ -1913,7 +1913,7 @@ describe('ReactIncremental', () => {
19131913 'ShowBoth {"locale":"fr"}' ,
19141914 ] ) ,
19151915 ) . toWarnDev (
1916- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
1916+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
19171917 'The old API will be supported in all 16.x releases, but applications ' +
19181918 'using it should migrate to the new version.\n\n' +
19191919 'Please update the following components: Intl, ShowBoth, ShowLocale' ,
@@ -1970,7 +1970,7 @@ describe('ReactIncremental', () => {
19701970 'ShowBoth {"locale":"en"}' ,
19711971 ] ) ,
19721972 ) . toWarnDev (
1973- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
1973+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
19741974 'The old API will be supported in all 16.x releases, but applications ' +
19751975 'using it should migrate to the new version.\n\n' +
19761976 'Please update the following components: Router, ShowRoute' ,
@@ -2001,7 +2001,7 @@ describe('ReactIncremental', () => {
20012001
20022002 ReactNoop . render ( < Recurse /> ) ;
20032003 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2004- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2004+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
20052005 'The old API will be supported in all 16.x releases, but applications ' +
20062006 'using it should migrate to the new version.\n\n' +
20072007 'Please update the following components: Recurse' ,
@@ -2046,7 +2046,7 @@ describe('ReactIncremental', () => {
20462046 "If you can't use a class try assigning the prototype on the function as a workaround. " +
20472047 '`Recurse.prototype = React.Component.prototype`. ' +
20482048 "Don't use an arrow function since it cannot be called with `new` by React." ,
2049- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2049+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
20502050 'The old API will be supported in all 16.x releases, but applications ' +
20512051 'using it should migrate to the new version.\n\n' +
20522052 'Please update the following components: Recurse' ,
@@ -2114,7 +2114,7 @@ describe('ReactIncremental', () => {
21142114 'ShowLocale {"locale":"ru"}' ,
21152115 ] ) ,
21162116 ) . toWarnDev (
2117- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2117+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
21182118 'The old API will be supported in all 16.x releases, but applications ' +
21192119 'using it should migrate to the new version.\n\n' +
21202120 'Please update the following components: Intl, ShowLocale' ,
@@ -2195,7 +2195,7 @@ describe('ReactIncremental', () => {
21952195 </ Intl > ,
21962196 ) ;
21972197 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2198- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2198+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
21992199 'The old API will be supported in all 16.x releases, but applications ' +
22002200 'using it should migrate to the new version.\n\n' +
22012201 'Please update the following components: Intl, ShowLocaleClass, ShowLocaleFn' ,
@@ -2289,7 +2289,7 @@ describe('ReactIncremental', () => {
22892289 </ Stateful > ,
22902290 ) ;
22912291 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2292- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2292+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
22932293 'The old API will be supported in all 16.x releases, but applications ' +
22942294 'using it should migrate to the new version.\n\n' +
22952295 'Please update the following components: Intl, ShowLocaleClass, ShowLocaleFn' ,
@@ -2360,7 +2360,7 @@ describe('ReactIncremental', () => {
23602360 // Init
23612361 ReactNoop . render ( < Root /> ) ;
23622362 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2363- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2363+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
23642364 'The old API will be supported in all 16.x releases, but applications ' +
23652365 'using it should migrate to the new version.\n\n' +
23662366 'Please update the following components: Child' ,
@@ -2412,7 +2412,7 @@ describe('ReactIncremental', () => {
24122412 // Init
24132413 ReactNoop . render ( < Root /> ) ;
24142414 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2415- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2415+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
24162416 'The old API will be supported in all 16.x releases, but applications ' +
24172417 'using it should migrate to the new version.\n\n' +
24182418 'Please update the following components: ContextProvider' ,
@@ -2465,7 +2465,7 @@ describe('ReactIncremental', () => {
24652465 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
24662466 [
24672467 'Using UNSAFE_componentWillReceiveProps in strict mode is not recommended' ,
2468- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2468+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
24692469 'The old API will be supported in all 16.x releases, but applications ' +
24702470 'using it should migrate to the new version.\n\n' +
24712471 'Please update the following components: MyComponent' ,
@@ -2614,7 +2614,7 @@ describe('ReactIncremental', () => {
26142614 ) ;
26152615
26162616 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2617- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2617+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
26182618 'The old API will be supported in all 16.x releases, but applications ' +
26192619 'using it should migrate to the new version.\n\n' +
26202620 'Please update the following components: Child, TopContextProvider' ,
@@ -2678,7 +2678,7 @@ describe('ReactIncremental', () => {
26782678 ) ;
26792679
26802680 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2681- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2681+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
26822682 'The old API will be supported in all 16.x releases, but applications ' +
26832683 'using it should migrate to the new version.\n\n' +
26842684 'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
@@ -2751,7 +2751,7 @@ describe('ReactIncremental', () => {
27512751 ) ;
27522752
27532753 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2754- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2754+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
27552755 'The old API will be supported in all 16.x releases, but applications ' +
27562756 'using it should migrate to the new version.\n\n' +
27572757 'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
@@ -2834,7 +2834,7 @@ describe('ReactIncremental', () => {
28342834 ) ;
28352835
28362836 expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2837- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2837+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
28382838 'The old API will be supported in all 16.x releases, but applications ' +
28392839 'using it should migrate to the new version.\n\n' +
28402840 'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
0 commit comments