Skip to content

Commit

Permalink
RN: Cleanup ReactNativeInternalFeatureFlagsMock
Browse files Browse the repository at this point in the history
Summary:
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
  • Loading branch information
yungsters authored and facebook-github-bot committed May 7, 2024
1 parent 24aece3 commit dd39f9a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ module.exports = {
defaultPlatform: 'ios',
platforms: ['ios', 'android'],
},
moduleNameMapper: {
// This module is internal to Meta and used by their custom React renderer.
// In tests, we can just use a mock.
'^ReactNativeInternalFeatureFlags$':
'<rootDir>/packages/react-native/jest/ReactNativeInternalFeatureFlagsMock.js',
},
moduleFileExtensions: ['fb.js'].concat(defaults.moduleFileExtensions),
modulePathIgnorePatterns: ['scripts/.*/__fixtures__/'],
unmockedModulePathPatterns: [
Expand Down
13 changes: 0 additions & 13 deletions packages/react-native/jest/ReactNativeInternalFeatureFlagsMock.js

This file was deleted.

0 comments on commit dd39f9a

Please sign in to comment.