Skip to content

Commit

Permalink
RN: Cleanup ReactNativeInternalFeatureFlagsMock (#44445)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
yungsters authored and facebook-github-bot committed May 8, 2024
1 parent 6473906 commit 4290ef5
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 4290ef5

Please sign in to comment.