You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Warning: %s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.%s',
375
+
'TextWithPunctuation',
376
+
'\n in TextWithPunctuation (at **)\n'+
377
+
' in Lazy (at **)\n'+
378
+
' in Suspense (at **)\n'+
379
+
' in div (at **)\n'+
380
+
' in div (at **)',
381
+
);
382
+
}else{
383
+
expect(mockError).not.toHaveBeenCalled();
384
+
}
385
+
}finally{
386
+
console.error=originalConsoleError;
387
+
}
358
388
});
359
389
360
390
it('#23331: does not warn about hydration mismatches if something suspended in an earlier sibling',async()=>{
'Warning: Child: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.',
371
372
'Warning: Failed prop type: Invalid prop `test` of type `number` '+
0 commit comments