mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Convert ReactSuspenseWithNoopRenderer tests to use built-in cache (#20601)
* Remove `ms` prop from SuspenseWithNoop tests Use `resolveText` instead. * Migrate SuspenseWithNoop tests to built-in cache
This commit is contained in:
+315
-353
File diff suppressed because it is too large
Load Diff
@@ -84,6 +84,11 @@ function getTestFlags() {
|
||||
|
||||
...featureFlags,
|
||||
...environmentFlags,
|
||||
|
||||
// FIXME: www-classic has enableCache on, but when running the source
|
||||
// tests, Jest doesn't expose the API correctly. Fix then remove
|
||||
// this override.
|
||||
enableCache: __EXPERIMENTAL__,
|
||||
},
|
||||
{
|
||||
get(flags, flagName) {
|
||||
|
||||
Reference in New Issue
Block a user