mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 09:44:13 +00:00
react-native: avoid Haste module naming collision warnings
Warnings like this: jest-haste-map: Haste module naming collision: StatusIm-Mobile The following files share their name; please adjust your hasteImpl: * <rootDir>/mobile/js_files/package.json * <rootDir>/package.json Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e0b5bfc7d8
commit
34c30e0cb9
@ -2,6 +2,6 @@ const blacklist = require('metro').createBlacklist;
|
||||
|
||||
module.exports = {
|
||||
getBlacklistRE: function() {
|
||||
return blacklist([/desktop\/js_files\/.*/]);
|
||||
return blacklist([/(desktop|mobile)\/js_files\/.*/]);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user