Skip to content

Commit c2e83e6

Browse files
yungsterskosmydel
authored andcommitted
RN: Cleanup ReactNativeInternalFeatureFlagsMock (facebook#44445)
Summary: Pull Request resolved: facebook#44445 The `ReactNativeInternalFeatureFlagsMock` module is not references in the open source repository, so there's no reason it should exist there. This cleans that up. Changelog: [Internal] Reviewed By: kassens Differential Revision: D57052284 fbshipit-source-id: d220eae2ba76f20ed48742779fbffd5de1f77529
1 parent 15d0fe7 commit c2e83e6

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

jest.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ module.exports = {
4141
defaultPlatform: 'ios',
4242
platforms: ['ios', 'android'],
4343
},
44-
moduleNameMapper: {
45-
// This module is internal to Meta and used by their custom React renderer.
46-
// In tests, we can just use a mock.
47-
'^ReactNativeInternalFeatureFlags$':
48-
'<rootDir>/packages/react-native/jest/ReactNativeInternalFeatureFlagsMock.js',
49-
},
5044
moduleFileExtensions: ['fb.js'].concat(defaults.moduleFileExtensions),
5145
modulePathIgnorePatterns: ['scripts/.*/__fixtures__/'],
5246
unmockedModulePathPatterns: [

packages/react-native/jest/ReactNativeInternalFeatureFlagsMock.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)