mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Remove redundant feature flag in the test due to https://github.com/facebook/react/pull/12117 (#12696)
This commit is contained in:
1 parent
9c77ffb444
commit
ec57d29941
2 files changed
-2
No files matched your search
@@ -475,7 +475,6 @@ describe('ChangeEventPlugin', () => {
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
ReactFeatureFlags = require('shared/ReactFeatureFlags');
|
||||
ReactFeatureFlags.enableAsyncSubtreeAPI = true;
|
||||
ReactFeatureFlags.debugRenderPhaseSideEffectsForStrictMode = false;
|
||||
ReactFeatureFlags.debugRenderPhaseSideEffectsForStrictMode = false;
|
||||
ReactDOM = require('react-dom');
|
||||
|
||||
@@ -246,7 +246,6 @@ describe('SimpleEventPlugin', function() {
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
ReactFeatureFlags = require('shared/ReactFeatureFlags');
|
||||
ReactFeatureFlags.enableAsyncSubtreeAPI = true;
|
||||
ReactFeatureFlags.debugRenderPhaseSideEffectsForStrictMode = false;
|
||||
ReactDOM = require('react-dom');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user