Rename ReactSuspenseWithTestRenderer-test -> ReactSuspense-test
Andrew Clark committed
Oct 3, 2018 at 18:54 UTC
4eabeef11b02e7ed5653474bf896b7b553756eaf
1 file changed
+3
-4
packages/react-reconciler/src/__tests__/ReactSuspense-test.internal.js
renamed
+3
-4
@@ -10,10 +10,9 @@ let cache;
10
let TextResource;
11
let textResourceShouldFail;
12
13
-// The tests in the ReactSuspense suite use ReactNoop. We want to use
14
-// ReactTestRenderer for most of our tests, so we're gradually migrating the
15
-// Suspense tests over to this file.
16
-describe('ReactSuspenseWithTestRenderer', () => {
13
+// Additional tests can be found in ReactSuspenseWithNoopRenderer. Plan is
14
+// to gradually migrate those to this file.
15
+describe('ReactSuspense', () => {
16
beforeEach(() => {
17
jest.resetModules();
18
ReactFeatureFlags = require('shared/ReactFeatureFlags');