@@ -112,7 +112,7 @@ describe('ReactDOMLegacyFiber', () => {
112
112
) ;
113
113
114
114
const textNode =
115
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
115
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
116
116
instance ,
117
117
) ;
118
118
expect ( textNode ) . toBe ( container . firstChild ) ;
@@ -134,7 +134,7 @@ describe('ReactDOMLegacyFiber', () => {
134
134
expect ( container . childNodes . length ) . toBe ( 2 ) ;
135
135
136
136
const firstNode =
137
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
137
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
138
138
instance ,
139
139
) ;
140
140
expect ( firstNode ) . toBe ( container . firstChild ) ;
@@ -166,7 +166,7 @@ describe('ReactDOMLegacyFiber', () => {
166
166
expect ( container . childNodes . length ) . toBe ( 2 ) ;
167
167
168
168
const firstNode =
169
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
169
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
170
170
instance ,
171
171
) ;
172
172
expect ( firstNode ) . toBe ( container . firstChild ) ;
@@ -193,7 +193,7 @@ describe('ReactDOMLegacyFiber', () => {
193
193
expect ( container . childNodes . length ) . toBe ( 2 ) ;
194
194
195
195
const firstNode =
196
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
196
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
197
197
instance ,
198
198
) ;
199
199
expect ( firstNode ) . toBe ( container . firstChild ) ;
@@ -891,7 +891,7 @@ describe('ReactDOMLegacyFiber', () => {
891
891
892
892
const myNodeA = ReactDOM . render ( < MyNode /> , container ) ;
893
893
const a =
894
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
894
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
895
895
myNodeA ,
896
896
) ;
897
897
expect ( a . tagName ) . toBe ( 'DIV' ) ;
@@ -900,7 +900,7 @@ describe('ReactDOMLegacyFiber', () => {
900
900
expect ( myNodeA === myNodeB ) . toBe ( true ) ;
901
901
902
902
const b =
903
- ReactDOM . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED . findDOMNode (
903
+ ReactDOM . __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE . findDOMNode (
904
904
myNodeB ,
905
905
) ;
906
906
expect ( b . tagName ) . toBe ( 'SPAN' ) ;
0 commit comments