Skip to content

Commit

Permalink
Fix warning test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Pope committed Mar 25, 2024
1 parent 04bb207 commit bc7ecce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe('ReactTestRenderer', () => {
);
});

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

0 comments on commit bc7ecce

Please sign in to comment.