Skip to content

Commit bc7ecce

Browse files
author
Jack Pope
committed
Fix warning test
1 parent 04bb207 commit bc7ecce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-test-renderer/src/__tests__/ReactTestRenderer-test.internal.js

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ describe('ReactTestRenderer', () => {
6565
);
6666
});
6767

68+
// @gate __DEV__
6869
it('should not warn if enableReactTestRendererWarning is enabled but the RN global is set', () => {
6970
global.IS_REACT_NATIVE_TEST_ENVIRONMENT = true;
7071
ReactFeatureFlags.enableReactTestRendererWarning = true;

0 commit comments

Comments
 (0)