Add DerivedData to BLACKLISTED_PATTERNS for haste paths (#23807)
Summary: Each time, when I run `iOS` tests like `RNTesterIntegrationTests`, Xcode will copy the bundle in `DerivedData` directory, and we added `RNTesterUnitTestsBundle.js` to bundle, so it leads `Haste module naming collision`, I think we can add `DerivedData` directory to blacklist. <img width="752" alt="c7d7dcbd-6507-481a-a8ef-64f16fec3a6f" src="https://user-images.githubusercontent.com/5061845/53960917-6888cc80-4122-11e9-9d1d-faac97f73a26.png"> [iOS] [Fixed] - Add DerivedData to BLACKLISTED_PATTERNS for haste paths Pull Request resolved: https://github.com/facebook/react-native/pull/23807 Differential Revision: D14436103 Pulled By: cpojer fbshipit-source-id: fa4bbd87d429f70167253aa38ff20049c9df58b4
This commit is contained in:
Родитель
9df493dc94
Коммит
585d41b30a
|
@ -60,6 +60,7 @@ const BLACKLISTED_PATTERNS /*: Array<RegExp> */ = [
|
|||
/.*[\\\/]__(mocks|tests)__[\\\/].*/,
|
||||
/^Libraries[\\\/]Animated[\\\/]src[\\\/]polyfills[\\\/].*/,
|
||||
/^Libraries[\\\/]Renderer[\\\/]fb[\\\/].*/,
|
||||
/DerivedData[\\\/].*/,
|
||||
];
|
||||
|
||||
const WHITELISTED_PREFIXES /*: Array<string> */ = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче